summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ipaq-micro.c
Commit message (Collapse)AuthorAgeFilesLines
* leds: ipaq-micro: Implement brightness_set_blocking opJacek Anaszewski2016-01-041-3/+3
| | | | | | | | | Since brightness setting can sleep for this driver, implement brightness_set_blocking op, instead of brightness_set. It makes this driver compatible with LED triggers. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
* leds: leds-ipaq-micro: Fix coding style issuesMuhammad Falak R Wani2015-11-031-9/+9
| | | | | | | | | | Spaces at the starting of a line are removed, indentation using tab, instead of space. Also, line width of more than 80 characters is also taken care of. Two warnings are left alone to aid better readability. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
* leds: leds-ipaq-micro: Use devm_led_classdev_registerMuhammad Falak R Wani2015-11-031-8/+1
| | | | | | | | | Use of resource-managed function devm_led_classdev_register instead of led_classdev_register is preferred, consequently remove redundant function micro_leds_remove. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
* leds: ipaq-micro: fix sparse non static symbol warningWei Yongjun2014-07-291-1/+1
| | | | | | | | | | Fixes the following sparse warnings: drivers/leds/leds-ipaq-micro.c:130:24: warning: symbol 'micro_leds_device_driver' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Bryan Wu <cooloney@gmail.com>
* leds: add driver for the iPAQ microLinus Walleij2014-07-231-0/+141
This adds a driver for the iPAQ microcontroller LED. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bryan Wu <cooloney@gmail.com>
OpenPOWER on IntegriCloud