Skip to content

Commit

Permalink
Merge branch 'cpuidle/next' of https://git.linaro.org/people/daniel.l…
Browse files Browse the repository at this point in the history
…ezcano/linux

* 'cpuidle/next' of https://git.linaro.org/people/daniel.lezcano/linux:
  cpuidle: kirkwood: Convert to platform remove callback returning void
  • Loading branch information
Rafael J. Wysocki committed Apr 30, 2024
2 parents ed30a4a + f9059eb commit 90bc39d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/cpuidle/cpuidle-kirkwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,14 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev)
return cpuidle_register(&kirkwood_idle_driver, NULL);
}

static int kirkwood_cpuidle_remove(struct platform_device *pdev)
static void kirkwood_cpuidle_remove(struct platform_device *pdev)
{
cpuidle_unregister(&kirkwood_idle_driver);
return 0;
}

static struct platform_driver kirkwood_cpuidle_driver = {
.probe = kirkwood_cpuidle_probe,
.remove = kirkwood_cpuidle_remove,
.remove_new = kirkwood_cpuidle_remove,
.driver = {
.name = "kirkwood_cpuidle",
},
Expand Down

0 comments on commit 90bc39d

Please sign in to comment.