From: Jingoo Han Date: Sat, 3 Nov 2012 00:42:47 +0000 (+1100) Subject: drivers/video/backlight/hp680_bl.c: add missing __devexit macros for remove X-Git-Tag: next-20121108~1^2~77 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fed1a3ef1484503b2c2e7b3085c1bfd9836b8361;p=karo-tx-linux.git drivers/video/backlight/hp680_bl.c: add missing __devexit macros for remove The __devexit macros is added to remove function. The macro moves the remove function to devexit section. Signed-off-by: Jingoo Han Cc: Richard Purdie Signed-off-by: Andrew Morton --- diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c index 191fbedf02ea..31d3a1ffb81f 100644 --- a/drivers/video/backlight/hp680_bl.c +++ b/drivers/video/backlight/hp680_bl.c @@ -124,7 +124,7 @@ static int __devinit hp680bl_probe(struct platform_device *pdev) return 0; } -static int hp680bl_remove(struct platform_device *pdev) +static int __devexit hp680bl_remove(struct platform_device *pdev) { struct backlight_device *bd = platform_get_drvdata(pdev); @@ -139,7 +139,7 @@ static int hp680bl_remove(struct platform_device *pdev) static struct platform_driver hp680bl_driver = { .probe = hp680bl_probe, - .remove = hp680bl_remove, + .remove = __devexit_p(hp680bl_remove), .suspend = hp680bl_suspend, .resume = hp680bl_resume, .driver = {