]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Implicitly register mc13xxx led subdevice
authorPhilippe Rétornaz <philippe.retornaz@epfl.ch>
Fri, 22 Jul 2011 14:17:08 +0000 (16:17 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 6 Oct 2011 14:44:00 +0000 (16:44 +0200)
commitfb5a390fb085358c6810383b640d29c907f48308
treea333c19352139de8d0988d3d0729b3f2dac1de4b
parent586e2ffc178b0867b9b5ab19580cb1e330e9fe0b
mfd: Implicitly register mc13xxx led subdevice

A led subdevice is registered now iff the corresponding platform data is
available. Without platform data the device isn't usable so this is a
sound check.

Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c