--- zzzz-none-000/linux-3.10.107/drivers/input/misc/mc13783-pwrbutton.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/input/misc/mc13783-pwrbutton.c 2021-02-04 17:41:59.000000000 +0000 @@ -20,7 +20,6 @@ */ #include -#include #include #include #include @@ -250,7 +249,6 @@ input_unregister_device(priv->pwr); kfree(priv); - platform_set_drvdata(pdev, NULL); return 0; } @@ -260,7 +258,6 @@ .remove = mc13783_pwrbutton_remove, .driver = { .name = "mc13783-pwrbutton", - .owner = THIS_MODULE, }, };