aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da903x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-da903x.c')
-rw-r--r--drivers/leds/leds-da903x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c
index cc77c9d92615..6f31b776765b 100644
--- a/drivers/leds/leds-da903x.c
+++ b/drivers/leds/leds-da903x.c
@@ -91,7 +91,7 @@ static void da903x_led_set(struct led_classdev *led_cdev,
91 schedule_work(&led->work); 91 schedule_work(&led->work);
92} 92}
93 93
94static int __devinit da903x_led_probe(struct platform_device *pdev) 94static int da903x_led_probe(struct platform_device *pdev)
95{ 95{
96 struct led_info *pdata = pdev->dev.platform_data; 96 struct led_info *pdata = pdev->dev.platform_data;
97 struct da903x_led *led; 97 struct da903x_led *led;
@@ -136,7 +136,7 @@ static int __devinit da903x_led_probe(struct platform_device *pdev)
136 return 0; 136 return 0;
137} 137}
138 138
139static int __devexit da903x_led_remove(struct platform_device *pdev) 139static int da903x_led_remove(struct platform_device *pdev)
140{ 140{
141 struct da903x_led *led = platform_get_drvdata(pdev); 141 struct da903x_led *led = platform_get_drvdata(pdev);
142 142
@@ -150,7 +150,7 @@ static struct platform_driver da903x_led_driver = {
150 .owner = THIS_MODULE, 150 .owner = THIS_MODULE,
151 }, 151 },
152 .probe = da903x_led_probe, 152 .probe = da903x_led_probe,
153 .remove = __devexit_p(da903x_led_remove), 153 .remove = da903x_led_remove,
154}; 154};
155 155
156module_platform_driver(da903x_led_driver); 156module_platform_driver(da903x_led_driver);