From: Lee Jones Date: Fri, 7 Jun 2013 16:11:26 +0000 (+0100) Subject: regulator: ab8500-ext: Register as a device in its own right X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~26^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a49b4a527e5b72ae3a4f64f078759f83fbd98b5;p=pandora-kernel.git regulator: ab8500-ext: Register as a device in its own right Some platforms don't support the AB8500 external regulators, so instead of having a list of is_() calls prior to calling ab8500_ext_regulator_init() from ab8500_regulator_probe(), we can only register as a platform device on platforms which require them. It means we also have more control over them when booting with Device Tree. Signed-off-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed