leds: atmel-pwm: remove erroneous __exit annotation
authorJingoo Han <jg1.han@samsung.com>
Thu, 28 Feb 2013 03:54:10 +0000 (19:54 -0800)
committerBryan Wu <cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:48 +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-atmel-pwm.c

index 386773532d9577b209840b15fda8be2efb97c924..8a39c5b20f76811731b73e12db54631fa88b2396 100644 (file)
@@ -113,7 +113,7 @@ err:
        return status;
 }
 
-static int __exit pwmled_remove(struct platform_device *pdev)
+static int pwmled_remove(struct platform_device *pdev)
 {
        const struct gpio_led_platform_data     *pdata;
        struct pwmled                           *leds;
@@ -140,7 +140,7 @@ static struct platform_driver pwmled_driver = {
        },
        /* REVISIT add suspend() and resume() methods */
        .probe =        pwmled_probe,
-       .remove =       __exit_p(pwmled_remove),
+       .remove =       pwmled_remove,
 };
 
 module_platform_driver(pwmled_driver);