Commit ad4e22fa authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Ben Dooks

ARM: S3C: move s3c_adc_remove to .devexit.text

The function s3c_adc_remove is used only wrapped by __devexit_p so define
it using __devexit.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Russell King <linux@arm.linux.org.uk>
Acked-By: default avatarBen Dooks <ben@simtec.co.uk>
Cc: Ramax Lo <ramaxlo@gmail.com>
Cc: Nelson Castillo <arhuaco@freaks-unidos.net>
Cc: linux-kernel@vger.kernel.org
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Ryan Mallon <ryan@bluewatersys.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 88d27041
...@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev) ...@@ -365,7 +365,7 @@ static int s3c_adc_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int s3c_adc_remove(struct platform_device *pdev) static int __devexit s3c_adc_remove(struct platform_device *pdev)
{ {
struct adc_device *adc = platform_get_drvdata(pdev); struct adc_device *adc = platform_get_drvdata(pdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment