aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/adp8860_bl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/adp8860_bl.c')
-rw-r--r--drivers/video/backlight/adp8860_bl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c
index 77d1fdba597f..6bb72c0cb803 100644
--- a/drivers/video/backlight/adp8860_bl.c
+++ b/drivers/video/backlight/adp8860_bl.c
@@ -213,7 +213,7 @@ static int adp8860_led_setup(struct adp8860_led *led)
213 return ret; 213 return ret;
214} 214}
215 215
216static int __devinit adp8860_led_probe(struct i2c_client *client) 216static int adp8860_led_probe(struct i2c_client *client)
217{ 217{
218 struct adp8860_backlight_platform_data *pdata = 218 struct adp8860_backlight_platform_data *pdata =
219 client->dev.platform_data; 219 client->dev.platform_data;
@@ -295,7 +295,7 @@ static int __devinit adp8860_led_probe(struct i2c_client *client)
295 return ret; 295 return ret;
296} 296}
297 297
298static int __devexit adp8860_led_remove(struct i2c_client *client) 298static int adp8860_led_remove(struct i2c_client *client)
299{ 299{
300 struct adp8860_backlight_platform_data *pdata = 300 struct adp8860_backlight_platform_data *pdata =
301 client->dev.platform_data; 301 client->dev.platform_data;
@@ -310,12 +310,12 @@ static int __devexit adp8860_led_remove(struct i2c_client *client)
310 return 0; 310 return 0;
311} 311}
312#else 312#else
313static int __devinit adp8860_led_probe(struct i2c_client *client) 313static int adp8860_led_probe(struct i2c_client *client)
314{ 314{
315 return 0; 315 return 0;
316} 316}
317 317
318static int __devexit adp8860_led_remove(struct i2c_client *client) 318static int adp8860_led_remove(struct i2c_client *client)
319{ 319{
320 return 0; 320 return 0;
321} 321}
@@ -650,7 +650,7 @@ static const struct attribute_group adp8860_bl_attr_group = {
650 .attrs = adp8860_bl_attributes, 650 .attrs = adp8860_bl_attributes,
651}; 651};
652 652
653static int __devinit adp8860_probe(struct i2c_client *client, 653static int adp8860_probe(struct i2c_client *client,
654 const struct i2c_device_id *id) 654 const struct i2c_device_id *id)
655{ 655{
656 struct backlight_device *bl; 656 struct backlight_device *bl;
@@ -755,7 +755,7 @@ out1:
755 return ret; 755 return ret;
756} 756}
757 757
758static int __devexit adp8860_remove(struct i2c_client *client) 758static int adp8860_remove(struct i2c_client *client)
759{ 759{
760 struct adp8860_bl *data = i2c_get_clientdata(client); 760 struct adp8860_bl *data = i2c_get_clientdata(client);
761 761
@@ -805,7 +805,7 @@ static struct i2c_driver adp8860_driver = {
805 .name = KBUILD_MODNAME, 805 .name = KBUILD_MODNAME,
806 }, 806 },
807 .probe = adp8860_probe, 807 .probe = adp8860_probe,
808 .remove = __devexit_p(adp8860_remove), 808 .remove = adp8860_remove,
809 .suspend = adp8860_i2c_suspend, 809 .suspend = adp8860_i2c_suspend,
810 .resume = adp8860_i2c_resume, 810 .resume = adp8860_i2c_resume,
811 .id_table = adp8860_id, 811 .id_table = adp8860_id,