Re: [PATCH] serial: max310x: remove always included kconfig.h

From: Andy Shevchenko

Date: Tue Jul 21 2026 - 16:39:44 EST


On Tue, Jul 21, 2026 at 10:44:17AM -0400, Hugo Villeneuve wrote:

> The inclusion of <linux/kconfig.h> in commit f18643843bc6 ("serial:
> max310x: fix compile errors if CONFIG_SPI_MASTER is disabled") is
> unneeded as it's guaranteed by the build starting from the commit
> 2a11c8ea20bf ("kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and
> IS_MODULE()"). Remove it here.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko