diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-27 22:54:10 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-04-01 14:04:48 -0400 |
commit | 6fd796279179608a4047099930a674c7379650cd (patch) | |
tree | 18b7a5d62d629311d1cd84fd41af74765b4bebb8 | |
parent | f07fb52107c881f35eaff09fe990a4dfd0f7e62a (diff) |
leds: atmel-pwm: 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>
-rw-r--r-- | drivers/leds/leds-atmel-pwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c index 386773532d95..8a39c5b20f76 100644 --- a/drivers/leds/leds-atmel-pwm.c +++ b/drivers/leds/leds-atmel-pwm.c | |||
@@ -113,7 +113,7 @@ err: | |||
113 | return status; | 113 | return status; |
114 | } | 114 | } |
115 | 115 | ||
116 | static int __exit pwmled_remove(struct platform_device *pdev) | 116 | static int pwmled_remove(struct platform_device *pdev) |
117 | { | 117 | { |
118 | const struct gpio_led_platform_data *pdata; | 118 | const struct gpio_led_platform_data *pdata; |
119 | struct pwmled *leds; | 119 | struct pwmled *leds; |
@@ -140,7 +140,7 @@ static struct platform_driver pwmled_driver = { | |||
140 | }, | 140 | }, |
141 | /* REVISIT add suspend() and resume() methods */ | 141 | /* REVISIT add suspend() and resume() methods */ |
142 | .probe = pwmled_probe, | 142 | .probe = pwmled_probe, |
143 | .remove = __exit_p(pwmled_remove), | 143 | .remove = pwmled_remove, |
144 | }; | 144 | }; |
145 | 145 | ||
146 | module_platform_driver(pwmled_driver); | 146 | module_platform_driver(pwmled_driver); |