aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-rb532.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-22leds: rb532: cleanup whitespacePavel Machek1-1/+0
Trivial cleanup removing empty line at wrong place. Signed-off-by: Pavel Machek <[email protected]>
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
Add SPDX license identifiers to all files which: - Have no license information of any form - Have MODULE_LICENCE("GPL*") inside which was used in the initial scan/conversion to ignore the file These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-10-20leds: drop owner assignment from platform_driversWolfram Sang1-1/+0
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <[email protected]>
2012-12-15Merge branch 'for-next' of ↵Linus Torvalds1-1/+1
git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds Pull LED subsystem update from Bryan Wu. * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (47 commits) leds: leds-lp5521: return an error code on error in probe() leds: leds-clevo-mail: Use pr_* instead of printks leds: leds-rb532: Fix checkpatch errors leds: led-triggers: Fix checkpatch warnings leds: ledtrig-backlight: Fix checkpatch error leds: leds-wrap: Use <linux/io.h> instead of <asm/io.h> leds: leds-wm8350: Use dev_err instead of printk leds: leds-pwm: Fix checkpatch warning leds: leds-pca955x: Use dev_info instead of printk leds: leds-net48xx: Use linux/io.h instead of asm/io.h leds: leds-lt3593: Fix checkpatch warnings leds: leds-gpio: Use dev_info instead of printk leds: leds-da903x: Fix checkpatch error and warnings leds: leds-bd2802: Fix checkpatch warnings leds: leds-adp5520: Fix checkpatch warnings leds: led-class: Fix checkpatch warning leds: leds-ns2: use devm_gpio_request_one leds: leds-lt3593: use devm_gpio_request_one leds: leds-gpio: use devm_gpio_request_one leds: lp3944: Fix return value ...
2012-11-28leds: leds-rb532: Fix checkpatch errorsSachin Kamat1-1/+1
Fixes the following issues: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
2012-11-28leds: remove use of __devexitBill Pemberton1-1/+1
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Jan-Simon Moeller <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-11-28leds: remove use of __devinitBill Pemberton1-1/+1
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Jan-Simon Moeller <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-11-28leds: remove use of __devexit_pBill Pemberton1-1/+1
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Jan-Simon Moeller <[email protected]> Acked-by: Bryan Wu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-01-10leds: convert led platform drivers to module_platform_driverAxel Lin1-14/+2
Factor out some boilerplate code for platform driver registration into module_platform_driver. Signed-off-by: Axel Lin <[email protected]> Acked-by: Haojian Zhuang <[email protected]> [led-88pm860x.c] Acked-by: Mark Brown <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Michael Hennerich <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Guennadi Liakhovetski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2009-04-06leds: Add rb532 LED driver for the User LEDPhil Sutter1-0/+77
Mikrotik built six LEDs into the Routerboard 532, from which one is destined for custom use, the so called "User LED". This patch adds a driver for it, based on the LEDs class. Signed-off-by: Phil Sutter <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Richard Purdie <[email protected]>