Skip to content

Commit

Permalink
leds: atmel-pwm: remove erroneous __exit annotation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Bryan Wu committed Apr 1, 2013
1 parent f07fb52 commit 6fd7962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/leds/leds-atmel-pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static int pwmled_probe(struct platform_device *pdev)
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;
Expand All @@ -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);
Expand Down

0 comments on commit 6fd7962

Please sign in to comment.