From: Mark Brown Date: Mon, 27 Jul 2009 13:45:55 +0000 (+0100) Subject: mfd: Conditionally add WM831x backlight subdevice X-Git-Tag: v2.6.32-rc1~643^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63aed85e3535b4603798184cc941e49de386d354;p=pandora-kernel.git mfd: Conditionally add WM831x backlight subdevice The WM831x backlight driver requires at least the specification of the current sink to use and a maximum current to allow them to function and will actively interfere with other users of the regulators it uses if misconfigured so only register the subdevice for it if this platform data has been supplied. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed