Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fd79627 authored by Jingoo Han's avatar Jingoo Han Committed by Bryan Wu
Browse files

leds: atmel-pwm: remove erroneous __exit annotation



CONFIG_HOTPLUG was removed, so __devexit or __exit of remove()
should not be used.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent f07fb521
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
@@ -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);