We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed30a4a + f9059eb commit 90bc39dCopy full SHA for 90bc39d
drivers/cpuidle/cpuidle-kirkwood.c
@@ -59,15 +59,14 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev)
59
return cpuidle_register(&kirkwood_idle_driver, NULL);
60
}
61
62
-static int kirkwood_cpuidle_remove(struct platform_device *pdev)
+static void kirkwood_cpuidle_remove(struct platform_device *pdev)
63
{
64
cpuidle_unregister(&kirkwood_idle_driver);
65
- return 0;
66
67
68
static struct platform_driver kirkwood_cpuidle_driver = {
69
.probe = kirkwood_cpuidle_probe,
70
- .remove = kirkwood_cpuidle_remove,
+ .remove_new = kirkwood_cpuidle_remove,
71
.driver = {
72
.name = "kirkwood_cpuidle",
73
},
0 commit comments