From: Javier Martinez Canillas Date: Thu, 16 Oct 2014 16:48:49 +0000 (+0200) Subject: regulator: max77802: Don't treat OFF as an operating mode X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~23^2~2^4~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0505be71490e49044314ca84dd443e0f3782ca5a;p=pandora-kernel.git regulator: max77802: Don't treat OFF as an operating mode The only operating modes that are supported by the regulators in the max77802 PMIC are Output ON (normal) and Output On in Low Power Mode. OFF was wrongly counted as an operating mode while is only a regulator status. Make clear in the code that OFF is not an operating mode. Signed-off-by: Javier Martinez Canillas Signed-off-by: Mark Brown --- Reading git-diff-tree failed