mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
f07fb52107
commit
6fd7962791
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue