Re: [PATCH v2] mfd/cpuidle: ux500: Rename driver symbol

From: Lee Jones
Date: Mon Aug 16 2021 - 08:43:35 EST


On Fri, 06 Aug 2021, Linus Walleij wrote:

> 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@xxxxxxxxxxxxx>
> Cc: linux-pm@xxxxxxxxxxxxxxx
> Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> ChangeLog v1->v2:
> - Use MFD_CELL_NAME()
> - Collect Daniel's ACK.
> ---
> drivers/cpuidle/cpuidle-ux500.c | 2 +-
> drivers/mfd/db8500-prcmu.c | 3 +--
> 2 files changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog