]> Pileus Git - ~andy/linux/blobdiff - drivers/leds/leds-lm3533.c
leds: remove use of __devexit
[~andy/linux] / drivers / leds / leds-lm3533.c
index f6837b99908c46f6c963383aafb53a5c8e602198..bbf24d038a7fc2139b0c78845b52bbb266f13b2c 100644 (file)
@@ -646,7 +646,7 @@ static struct attribute_group lm3533_led_attribute_group = {
        .attrs          = lm3533_led_attributes
 };
 
-static int __devinit lm3533_led_setup(struct lm3533_led *led,
+static int lm3533_led_setup(struct lm3533_led *led,
                                        struct lm3533_led_platform_data *pdata)
 {
        int ret;
@@ -658,7 +658,7 @@ static int __devinit lm3533_led_setup(struct lm3533_led *led,
        return lm3533_ctrlbank_set_pwm(&led->cb, pdata->pwm);
 }
 
-static int __devinit lm3533_led_probe(struct platform_device *pdev)
+static int lm3533_led_probe(struct platform_device *pdev)
 {
        struct lm3533 *lm3533;
        struct lm3533_led_platform_data *pdata;
@@ -742,7 +742,7 @@ err_unregister:
        return ret;
 }
 
-static int __devexit lm3533_led_remove(struct platform_device *pdev)
+static int lm3533_led_remove(struct platform_device *pdev)
 {
        struct lm3533_led *led = platform_get_drvdata(pdev);
 
@@ -774,7 +774,7 @@ static struct platform_driver lm3533_led_driver = {
                .owner = THIS_MODULE,
        },
        .probe          = lm3533_led_probe,
-       .remove         = __devexit_p(lm3533_led_remove),
+       .remove         = lm3533_led_remove,
        .shutdown       = lm3533_led_shutdown,
 };
 module_platform_driver(lm3533_led_driver);