aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ipaq-micro.c
AgeCommit message (Collapse)AuthorFilesLines
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-3/+1
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Enrico Weigelt <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-01-04leds: ipaq-micro: Implement brightness_set_blocking opJacek Anaszewski1-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 <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
2015-11-03leds: leds-ipaq-micro: Fix coding style issuesMuhammad Falak R Wani1-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 <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
2015-11-03leds: leds-ipaq-micro: Use devm_led_classdev_registerMuhammad Falak R Wani1-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 <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
2014-07-29leds: ipaq-micro: fix sparse non static symbol warningWei Yongjun1-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 <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
2014-07-23leds: add driver for the iPAQ microLinus Walleij1-0/+141
This adds a driver for the iPAQ microcontroller LED. Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Bryan Wu <[email protected]>