summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pca955x.c
Commit message (Collapse)AuthorAgeFilesLines
* leds: leds-pca955x - Mark pca955x_led_set() staticSven Wegener2008-10-201-1/+1
| | | | | | | Mark pca955x_led_set() as static Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* leds-pca955x: add proper error handling and fix bogus memory handlingSven Wegener2008-10-031-32/+38
| | | | | | | | | | | | | | | Check the return value of led_classdev_register and unregister all registered devices, if registering one device fails. Also the dynamic memory handling is totally bogus. You can't allocate multiple chunks via kzalloc() and expect them to be in order later. I wonder how this ever worked. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Nate Case <ncase@xes-inc.com> Tested-by: Nate Case <ncase@xes-inc.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* leds: Add support for Philips PCA955x I2C LED driversNate Case2008-07-231-0/+384
This driver supports the PCA9550, PCA9551, PCA9552, and PCA9553 LED driver chips. Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
OpenPOWER on IntegriCloud