Re: [PATCH 1/2] i2c: core: Switch I2C_COMPAT to default n

Greg Kroah-Hartman
2024-09-03T08:49:45Z

On Mon, Sep 02, 2024 at 09:01:18PM +0200, Heiner Kallweit wrote:
> I2C_COMPAT has been considered deprecated for 15 years now.
> Therefore make it default n, before we remove support for it
> in the near future.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> drivers/i2c/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
> index 44710267d..e5721cebb 100644
> --- a/drivers/i2c/Kconfig
> +++ b/drivers/i2c/Kconfig
> @@ -42,11 +42,11 @@ config I2C_BOARDINFO
>
> config I2C_COMPAT
> bool "Enable compatibility bits for old user-space"
> - default y
> + default n

Just remove the default line, that way it will default to 'n'.

thanks,

greg k-h