You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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 <u.kleine-koenig@pengutronix.de> Cc: David S. Miller <davem@davemloft.net> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Patrick McHardy <kaber@trash.net> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ce501caf16
commit
1ebb5a1aa9
+1
-1
@@ -828,7 +828,7 @@ static int __exit meth_remove(struct platform_device *pdev)
|
|||||||
|
|
||||||
static struct platform_driver meth_driver = {
|
static struct platform_driver meth_driver = {
|
||||||
.probe = meth_probe,
|
.probe = meth_probe,
|
||||||
.remove = __devexit_p(meth_remove),
|
.remove = __exit_p(meth_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "meth",
|
.name = "meth",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
|||||||
Reference in New Issue
Block a user