From: Sylwester Nawrocki Date: Wed, 25 Jan 2012 11:35:38 +0000 (+0100) Subject: regulator: Reverse the disable sequence in regulator_bulk_disable() X-Git-Tag: v3.4-rc1~168^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e226323d462785582750d9f38acca5ffa5dd48;p=pandora-kernel.git regulator: Reverse the disable sequence in regulator_bulk_disable() Often there is a need for disabling a set of regulators in order opposite to the enable order. Currently the function regulator_bulk_disable() walks list of regulators in same order as regulator_bulk_enable(). This may cause trouble, especially for devices with mixed analogue and digital circuits. So reverse the disabling sequence of regulator_bulk_disable(). While at it, also correct the comment. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Mark Brown --- Reading git-diff-tree failed