aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorHolger Freyther <zecke@openmoko.org>2008-11-19 17:09:38 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:38 +0000
commit4c061641acc035be7df5c5f671dca5b82649f919 (patch)
treeab4c6eab677eb51929494e230e32071cf7ed0e0c /usr
parent4b705027a9d8267e80e68b3b6ab8a2d04f988979 (diff)
[led] Misc fixes in the driver code
to_bundle returned the wrong data. The platform_device is the parent of the class_device used by the LED device class. Return the correct class. num_leds was not set to the correct number of registered LEDs. All loops using num_leds (e.g. module unloading) were not executed at all. On removal of the module disable all LEDs. Signed-Off-By: Holger Freyther <zecke@openmoko.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions