Re: [PATCH] pwm: pxa: Depend on OF and simplify accordingly
From: Uwe Kleine-König (The Capable Hub)
Date: Fri Jul 10 2026 - 04:12:45 EST
Hello,
On Sun, Jul 05, 2026 at 10:39:08AM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The SoCs that this driver actually works on all imply OF already. (ARM
> selects USE_OF unless some archs are enabled that cannot be selected
> together with ARCH_PXA or ARCH_MMP, ARM64 and RISCV select OF.)
>
> With OF known to be enabled a few conditionals in the driver can be
> simplified.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
> ---
> Hello,
>
> while doing a treewide cleanup I wondered if these conditionals are
> relevant at all. A bit of research found they are not. We will get over
> losing compile coverage for COMPILE_TEST && !OF.
I applied this patch to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
for the next merge window.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature