diff options
Diffstat (limited to 'drivers/video/backlight/adp8870_bl.c')
-rw-r--r-- | drivers/video/backlight/adp8870_bl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c index edf7f91c8e61..63c882b8177a 100644 --- a/drivers/video/backlight/adp8870_bl.c +++ b/drivers/video/backlight/adp8870_bl.c | |||
@@ -235,7 +235,7 @@ static int adp8870_led_setup(struct adp8870_led *led) | |||
235 | return ret; | 235 | return ret; |
236 | } | 236 | } |
237 | 237 | ||
238 | static int __devinit adp8870_led_probe(struct i2c_client *client) | 238 | static int adp8870_led_probe(struct i2c_client *client) |
239 | { | 239 | { |
240 | struct adp8870_backlight_platform_data *pdata = | 240 | struct adp8870_backlight_platform_data *pdata = |
241 | client->dev.platform_data; | 241 | client->dev.platform_data; |
@@ -320,7 +320,7 @@ static int __devinit adp8870_led_probe(struct i2c_client *client) | |||
320 | return ret; | 320 | return ret; |
321 | } | 321 | } |
322 | 322 | ||
323 | static int __devexit adp8870_led_remove(struct i2c_client *client) | 323 | static int adp8870_led_remove(struct i2c_client *client) |
324 | { | 324 | { |
325 | struct adp8870_backlight_platform_data *pdata = | 325 | struct adp8870_backlight_platform_data *pdata = |
326 | client->dev.platform_data; | 326 | client->dev.platform_data; |
@@ -335,12 +335,12 @@ static int __devexit adp8870_led_remove(struct i2c_client *client) | |||
335 | return 0; | 335 | return 0; |
336 | } | 336 | } |
337 | #else | 337 | #else |
338 | static int __devinit adp8870_led_probe(struct i2c_client *client) | 338 | static int adp8870_led_probe(struct i2c_client *client) |
339 | { | 339 | { |
340 | return 0; | 340 | return 0; |
341 | } | 341 | } |
342 | 342 | ||
343 | static int __devexit adp8870_led_remove(struct i2c_client *client) | 343 | static int adp8870_led_remove(struct i2c_client *client) |
344 | { | 344 | { |
345 | return 0; | 345 | return 0; |
346 | } | 346 | } |
@@ -839,7 +839,7 @@ static const struct attribute_group adp8870_bl_attr_group = { | |||
839 | .attrs = adp8870_bl_attributes, | 839 | .attrs = adp8870_bl_attributes, |
840 | }; | 840 | }; |
841 | 841 | ||
842 | static int __devinit adp8870_probe(struct i2c_client *client, | 842 | static int adp8870_probe(struct i2c_client *client, |
843 | const struct i2c_device_id *id) | 843 | const struct i2c_device_id *id) |
844 | { | 844 | { |
845 | struct backlight_properties props; | 845 | struct backlight_properties props; |
@@ -929,7 +929,7 @@ out1: | |||
929 | return ret; | 929 | return ret; |
930 | } | 930 | } |
931 | 931 | ||
932 | static int __devexit adp8870_remove(struct i2c_client *client) | 932 | static int adp8870_remove(struct i2c_client *client) |
933 | { | 933 | { |
934 | struct adp8870_bl *data = i2c_get_clientdata(client); | 934 | struct adp8870_bl *data = i2c_get_clientdata(client); |
935 | 935 | ||
@@ -977,7 +977,7 @@ static struct i2c_driver adp8870_driver = { | |||
977 | .name = KBUILD_MODNAME, | 977 | .name = KBUILD_MODNAME, |
978 | }, | 978 | }, |
979 | .probe = adp8870_probe, | 979 | .probe = adp8870_probe, |
980 | .remove = __devexit_p(adp8870_remove), | 980 | .remove = adp8870_remove, |
981 | .suspend = adp8870_i2c_suspend, | 981 | .suspend = adp8870_i2c_suspend, |
982 | .resume = adp8870_i2c_resume, | 982 | .resume = adp8870_i2c_resume, |
983 | .id_table = adp8870_id, | 983 | .id_table = adp8870_id, |