Re: [PATCH] mfd: db8500-prcmu: Fold dbx500 header into db8500

Guenter Roeck <[email protected]>
Newsgroups org.kernel.vger.linux-watchdog,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-clk,org.kernel.vger.linux-pm,org.kernel.vger.linux-sound
Message-ID <[email protected]>
On 6/19/26 13:27, Linus Walleij wrote:
> Move the DBx500 PRCMU definitions into the DB8500 PRCMU
> header and delete the wrapper header.
> 
> Convert users of simple PRCMU wrappers to call the DB8500 helpers
> directly.
> 
> The dbx500-prcmu.h header was the result of an earlier attempt to
> abstract several DBx5x SoC PRCMU units to use the same abstract
> header. They are deleted from the kernel and this is not just
> causing maintenance burden and build errors.
> 
> The stub code is using -ENOSYS in a way checkpatch complains about
> so replace these with -EINVAL while we're at it.
> 
> Assisted-by: Codex:gpt-5-5
> Reported-by: kernel test robot <[email protected]>
> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Signed-off-by: Linus Walleij <[email protected]>
> ---
>   arch/arm/mach-ux500/cpu-db8500.c |   6 +-
>   drivers/clk/ux500/clk-prcmu.c    |  20 +-
>   drivers/clk/ux500/u8500_of_clk.c |   2 +-
>   drivers/cpuidle/cpuidle-ux500.c  |   6 +-
>   drivers/mfd/ab8500-core.c        |   2 +-
>   drivers/mfd/db8500-prcmu.c       |   6 +-
>   drivers/regulator/db8500-prcmu.c |  12 +-
>   drivers/thermal/db8500_thermal.c |  10 +-
>   drivers/watchdog/db8500_wdt.c    |  22 +-

For watchdog:

Acked-by: Guenter Roeck <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.