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

Commit 77bf2ea8 authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Linus Torvalds
Browse files

rtc: mc13xxx: remove __exit_p()



Since we no longer allow building without hotplug, the
mc13xxx_rtc_remove() function is always present and we should not use
__exit_p() to refer to it.

Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1d1945d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -375,7 +375,7 @@ static int __init mc13xxx_rtc_probe(struct platform_device *pdev)
	return ret;
	return ret;
}
}


static int __exit mc13xxx_rtc_remove(struct platform_device *pdev)
static int mc13xxx_rtc_remove(struct platform_device *pdev)
{
{
	struct mc13xxx_rtc *priv = platform_get_drvdata(pdev);
	struct mc13xxx_rtc *priv = platform_get_drvdata(pdev);


@@ -404,7 +404,7 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_rtc_idtable);


static struct platform_driver mc13xxx_rtc_driver = {
static struct platform_driver mc13xxx_rtc_driver = {
	.id_table = mc13xxx_rtc_idtable,
	.id_table = mc13xxx_rtc_idtable,
	.remove = __exit_p(mc13xxx_rtc_remove),
	.remove = mc13xxx_rtc_remove,
	.driver = {
	.driver = {
		.name = DRIVER_NAME,
		.name = DRIVER_NAME,
		.owner = THIS_MODULE,
		.owner = THIS_MODULE,