Re: [PATCH 04/10] [RESEND] mux: adg792a: remove incorrect of_match_ptr annotation
From: Andy Shevchenko
Date: Wed Apr 09 2025 - 11:45:55 EST
On Wed, Apr 09, 2025 at 02:22:56PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building with W=1 shows a warning about adg792a_of_match being unused
> when CONFIG_OF is disabled:
>
> drivers/mux/adg792a.c:134:34: error: unused variable 'adg792a_of_match' [-Werror,-Wunused-const-variable]
Yes, please, somebody apply this, I have got 3+ LKP emails about this in the
past.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko