leds: leds-bd2802: remove erroneous __exit annotation
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Feb 2013 03:55:14 +0000 (19:55 -0800)
committerBryan Wu <cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:49 +0000 (11:04 -0700)
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>
drivers/leds/leds-bd2802.c

index 851517030cc1ec37109761b16cb637b9b373e49f..9f9177d29ed7b81d3da6a2ec38c2429373e079c6 100644 (file)
@@ -732,7 +732,7 @@ failed_unregister_dev_file:
        return ret;
 }
 
-static int __exit bd2802_remove(struct i2c_client *client)
+static int bd2802_remove(struct i2c_client *client)
 {
        struct bd2802_led *led = i2c_get_clientdata(client);
        int i;
@@ -804,7 +804,7 @@ static struct i2c_driver bd2802_i2c_driver = {
                .pm     = BD2802_PM,
        },
        .probe          = bd2802_probe,
-       .remove         = __exit_p(bd2802_remove),
+       .remove         = bd2802_remove,
        .id_table       = bd2802_id,
 };