On Wed, Feb 27, 2013 at 7:54 PM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote: > CONFIG_HOTPLUG was removed, so __devexit or __exit of remove() > should not be used. > Thanks, I will merge this. -Bryan > Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx> > --- > 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 3867735..8a39c5b 100644 > --- a/drivers/leds/leds-atmel-pwm.c > +++ b/drivers/leds/leds-atmel-pwm.c > @@ -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); > -- > 1.7.2.5 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-leds" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html