diff options
Diffstat (limited to 'drivers/leds/leds-adp5520.c')
-rw-r--r-- | drivers/leds/leds-adp5520.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c index aa56a867693a..dcd9128a51a9 100644 --- a/drivers/leds/leds-adp5520.c +++ b/drivers/leds/leds-adp5520.c | |||
@@ -85,7 +85,7 @@ static int adp5520_led_setup(struct adp5520_led *led) | |||
85 | return ret; | 85 | return ret; |
86 | } | 86 | } |
87 | 87 | ||
88 | static int __devinit adp5520_led_prepare(struct platform_device *pdev) | 88 | static int adp5520_led_prepare(struct platform_device *pdev) |
89 | { | 89 | { |
90 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 90 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
91 | struct device *dev = pdev->dev.parent; | 91 | struct device *dev = pdev->dev.parent; |
@@ -101,7 +101,7 @@ static int __devinit adp5520_led_prepare(struct platform_device *pdev) | |||
101 | return ret; | 101 | return ret; |
102 | } | 102 | } |
103 | 103 | ||
104 | static int __devinit adp5520_led_probe(struct platform_device *pdev) | 104 | static int adp5520_led_probe(struct platform_device *pdev) |
105 | { | 105 | { |
106 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 106 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
107 | struct adp5520_led *led, *led_dat; | 107 | struct adp5520_led *led, *led_dat; |
@@ -183,7 +183,7 @@ err: | |||
183 | return ret; | 183 | return ret; |
184 | } | 184 | } |
185 | 185 | ||
186 | static int __devexit adp5520_led_remove(struct platform_device *pdev) | 186 | static int adp5520_led_remove(struct platform_device *pdev) |
187 | { | 187 | { |
188 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; | 188 | struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data; |
189 | struct adp5520_led *led; | 189 | struct adp5520_led *led; |
@@ -208,7 +208,7 @@ static struct platform_driver adp5520_led_driver = { | |||
208 | .owner = THIS_MODULE, | 208 | .owner = THIS_MODULE, |
209 | }, | 209 | }, |
210 | .probe = adp5520_led_probe, | 210 | .probe = adp5520_led_probe, |
211 | .remove = __devexit_p(adp5520_led_remove), | 211 | .remove = adp5520_led_remove, |
212 | }; | 212 | }; |
213 | 213 | ||
214 | module_platform_driver(adp5520_led_driver); | 214 | module_platform_driver(adp5520_led_driver); |