Skip to content

Commit 90bc39d

Browse files
committed
* 'cpuidle/next' of https://git.linaro.org/people/daniel.lezcano/linux: cpuidle: kirkwood: Convert to platform remove callback returning void
2 parents ed30a4a + f9059eb commit 90bc39d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/cpuidle/cpuidle-kirkwood.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev)
5959
return cpuidle_register(&kirkwood_idle_driver, NULL);
6060
}
6161

62-
static int kirkwood_cpuidle_remove(struct platform_device *pdev)
62+
static void kirkwood_cpuidle_remove(struct platform_device *pdev)
6363
{
6464
cpuidle_unregister(&kirkwood_idle_driver);
65-
return 0;
6665
}
6766

6867
static struct platform_driver kirkwood_cpuidle_driver = {
6968
.probe = kirkwood_cpuidle_probe,
70-
.remove = kirkwood_cpuidle_remove,
69+
.remove_new = kirkwood_cpuidle_remove,
7170
.driver = {
7271
.name = "kirkwood_cpuidle",
7372
},

0 commit comments

Comments
 (0)