diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-27 22:55:14 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-04-01 14:04:49 -0400 |
commit | e9dd68cf148994bf2eb718c540a472170b1ad4d3 (patch) | |
tree | 2abcbfb126f53a50e6dcfb0d7193cd1561083c05 /drivers/leds | |
parent | 6fd796279179608a4047099930a674c7379650cd (diff) |
leds: leds-bd2802: remove erroneous __exit annotation
CONFIG_HOTPLUG was removed, so __devexit or __exit of remove()
should not be used.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-bd2802.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c index 851517030cc1..9f9177d29ed7 100644 --- a/drivers/leds/leds-bd2802.c +++ b/drivers/leds/leds-bd2802.c | |||
@@ -732,7 +732,7 @@ failed_unregister_dev_file: | |||
732 | return ret; | 732 | return ret; |
733 | } | 733 | } |
734 | 734 | ||
735 | static int __exit bd2802_remove(struct i2c_client *client) | 735 | static int bd2802_remove(struct i2c_client *client) |
736 | { | 736 | { |
737 | struct bd2802_led *led = i2c_get_clientdata(client); | 737 | struct bd2802_led *led = i2c_get_clientdata(client); |
738 | int i; | 738 | int i; |
@@ -804,7 +804,7 @@ static struct i2c_driver bd2802_i2c_driver = { | |||
804 | .pm = BD2802_PM, | 804 | .pm = BD2802_PM, |
805 | }, | 805 | }, |
806 | .probe = bd2802_probe, | 806 | .probe = bd2802_probe, |
807 | .remove = __exit_p(bd2802_remove), | 807 | .remove = bd2802_remove, |
808 | .id_table = bd2802_id, | 808 | .id_table = bd2802_id, |
809 | }; | 809 | }; |
810 | 810 | ||