From: Uwe Kleine-König Date: Wed, 30 Sep 2009 22:28:17 +0000 (+0000) Subject: don't use __devexit_p to wrap meth_remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ebb5a1aa9a1ede80a37684215971c6130ac91c8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git don't use __devexit_p to wrap meth_remove The function meth_remove is defined using __exit, so don't use __devexit_p but __exit_p to wrap it. Signed-off-by: Uwe Kleine-König Cc: David S. Miller Cc: Ralf Baechle Cc: Patrick McHardy Cc: Johannes Berg Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller --- diff --git a/drivers/net/meth.c b/drivers/net/meth.c index 92ceb689b4d4..2af81735386b 100644 --- a/drivers/net/meth.c +++ b/drivers/net/meth.c @@ -828,7 +828,7 @@ static int __exit meth_remove(struct platform_device *pdev) static struct platform_driver meth_driver = { .probe = meth_probe, - .remove = __devexit_p(meth_remove), + .remove = __exit_p(meth_remove), .driver = { .name = "meth", .owner = THIS_MODULE,