Re: [PATCH] i2c: mux: remove incorrect of_match_ptr annotations
From: Andi Shyti
Date: Wed Feb 26 2025 - 17:06:39 EST
Hi Arnd,
On Tue, Feb 25, 2025 at 05:36:56PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Building with W=1 shows a warning about ltc4306_of_match and
> i2c_mux_reg_of_match being unused when CONFIG_OF is disabled:
>
> drivers/i2c/muxes/i2c-mux-ltc4306.c:200:34: error: unused variable 'ltc4306_of_match' [-Werror,-Wunused-const-variable]
> drivers/i2c/muxes/i2c-mux-reg.c:242:34: error: unused variable 'i2c_mux_reg_of_match' [-Werror,-Wunused-const-variable]
>
> Acked-by: Peter Rosin <peda@xxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
merged to i2c/i2c-host.
Thanks,
Andi