backlight: atmel-pwm-bl: remove erroneous __exit annotation
PATCH 1/1 backlight: atmel-pwm-bl: 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]>
--- drivers/video/backlight/atmel-pwm-bl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/backlight/atmel-pwm-bl.c +2 -2
@@ -203,7 +203,7 @@ err_free_mem:return retval; } -static int __exit atmel_pwm_bl_remove(struct platform_device *pdev) +static int atmel_pwm_bl_remove (struct platform_device *pdev) {struct atmel_pwm_bl *pwmbl =platform_get_drvdata (pdev);
@@ -222,7 +222,7 @@ static struct platform_driver atmel_pwm_bl_driver = { .name = "atmel-pwm-bl", }, /* REVISIT add suspend() and resume() */ - .remove = __exit_p(atmel_pwm_bl_remove), + .remove = atmel_pwm_bl_remove, };static int __init atmel_pwm_bl_init (void )
Signature · 1 line
1.7.2.5