From: Saquib Herman Date: Fri, 1 Apr 2011 04:52:43 +0000 (+0530) Subject: regulator: twl: remap has no meaning for 6030 X-Git-Tag: v3.0-rc1~48^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776dc923f5c9cd0eea61475ed61350e377ad98b5;p=pandora-kernel.git regulator: twl: remap has no meaning for 6030 TWL6030 does not have remap register. The current implementation causes value of remap to be written to state register, accidentally causing the regulators which are probed to be switched on as well. This is wrong as regulators should be controllable based on calls to enable/disable for TWL regulator framework. Further, the values initialized make no sense as well. We hence remove this from the initalizers and also write to remap register only if the TWL is 4030. Signed-off-by: Nishanth Menon Signed-off-by: Saquib Herman Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed