aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-rb532.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-rb532.c')
-rw-r--r--drivers/leds/leds-rb532.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c
index a7815b6cd856..9ebdd5011a7c 100644
--- a/drivers/leds/leds-rb532.c
+++ b/drivers/leds/leds-rb532.c
@@ -37,12 +37,12 @@ static struct led_classdev rb532_uled = {
37 .default_trigger = "nand-disk", 37 .default_trigger = "nand-disk",
38}; 38};
39 39
40static int __devinit rb532_led_probe(struct platform_device *pdev) 40static int rb532_led_probe(struct platform_device *pdev)
41{ 41{
42 return led_classdev_register(&pdev->dev, &rb532_uled); 42 return led_classdev_register(&pdev->dev, &rb532_uled);
43} 43}
44 44
45static int __devexit rb532_led_remove(struct platform_device *pdev) 45static int rb532_led_remove(struct platform_device *pdev)
46{ 46{
47 led_classdev_unregister(&rb532_uled); 47 led_classdev_unregister(&rb532_uled);
48 return 0; 48 return 0;
@@ -50,7 +50,7 @@ static int __devexit rb532_led_remove(struct platform_device *pdev)
50 50
51static struct platform_driver rb532_led_driver = { 51static struct platform_driver rb532_led_driver = {
52 .probe = rb532_led_probe, 52 .probe = rb532_led_probe,
53 .remove = __devexit_p(rb532_led_remove), 53 .remove = rb532_led_remove,
54 .driver = { 54 .driver = {
55 .name = "rb532-led", 55 .name = "rb532-led",
56 .owner = THIS_MODULE, 56 .owner = THIS_MODULE,