[PATCH] pwm: clps711x: Drop of_match_ptr() usage for .of_match_table

Uwe Kleine-König u.kleine-koenig at baylibre.com
Sat Feb 15 06:43:06 PST 2025


Hello,

On Fri, Feb 14, 2025 at 05:34:42PM +0100, Uwe Kleine-König wrote:
> The pwm-clps711x driver depends on ARCH_CLPS711X || COMPILE_TEST. With
> the former being an ARCH_MULTI_V4T platform, there is always OF=y when
> ARCH_CLPS711X=y, so in practise clps711x_pwm_dt_ids[] is always used.
> (And in the case COMPILE_TEST=y + OF=n this only increases the driver
> size a bit but still compiles.)
> 
> So drop the usage of of_match_ptr().
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> ---

Applied with Andy's Reviewed-by tag to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
.

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250215/276ab245/attachment.sig>


More information about the linux-arm-kernel mailing list