summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle-ux500.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-08-06 12:14:04 +0300
committerLee Jones <lee.jones@linaro.org>2021-08-16 15:42:34 +0300
commitf28fd3b6f73dd908776145143a63393be3522e54 (patch)
tree34b4c764eef5fb3e75ccb768a041f6fe5d03d8fe /drivers/cpuidle/cpuidle-ux500.c
parent72b89b9ab58fae01f2deea30e0ff4d2349021506 (diff)
downloadlinux-f28fd3b6f73dd908776145143a63393be3522e54.tar.xz
mfd/cpuidle: ux500: Rename driver symbol
The PRCMU driver defines this as a DT node but there are no bindings for it and it needs no data from the device tree. Just spawn the device directly in the same way as the watchdog. Name it "db8500-cpuidle" since there are no ambitions to support any more SoCs than this one. This rids this annoying boot message: [ 0.032610] cpuidle-dbx500: Failed to locate of_node [id: 0] However I think the device still spawns and work just fine, despite not finding a device tree node. Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: linux-pm@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/cpuidle/cpuidle-ux500.c')
-rw-r--r--drivers/cpuidle/cpuidle-ux500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-ux500.c b/drivers/cpuidle/cpuidle-ux500.c
index a2d34be17a09..f7d778580e9b 100644
--- a/drivers/cpuidle/cpuidle-ux500.c
+++ b/drivers/cpuidle/cpuidle-ux500.c
@@ -117,7 +117,7 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver dbx500_cpuidle_plat_driver = {
.driver = {
- .name = "cpuidle-dbx500",
+ .name = "db8500-cpuidle",
},
.probe = dbx500_cpuidle_probe,
};