]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Conditionally add WM831x backlight subdevice
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Jul 2009 13:45:55 +0000 (14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:46:58 +0000 (09:46 +0200)
commitda5d6788b84393c8e7638835b92834f28099a65c
tree9fadb2c68ec7702327b725043c2e214e0263a154
parentf66483bc6060a44d9972bad804f5291612a5c3cd
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 <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c
include/linux/mfd/wm831x/pdata.h