ARM: samsung: Remove HAVE_S3C2410_I2C and use direct dependencies
authorSam Protsenko <semen.protsenko@linaro.org>
Sun, 21 Nov 2021 15:05:58 +0000 (17:05 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 21 Nov 2021 16:46:18 +0000 (17:46 +0100)
commit3ac5f9db26bb7a227ccbf160c36a5567b5394299
tree0930717108991d9d01f73510d530898a8ab535b8
parent7f9ec9b59c278f31b0c2c8fabcf564e6fc02d4d8
ARM: samsung: Remove HAVE_S3C2410_I2C and use direct dependencies

A separate Kconfig option HAVE_S3C2410_I2C for Samsung SoCs is not
really needed and the i2c-s3c24xx driver can depend on Samsung ARM
architectures instead. This also enables i2c-s3c2410 for arm64 Exynos
SoCs, which is required for example by Exynos850.

This is basically continuation of work made in following commits:
  - commit d96890fca9fd ("rtc: s3c: remove HAVE_S3C_RTC in favor of
    direct dependencies")
  - commit 7dd3cae90d85 ("ARM: samsung: remove HAVE_S3C2410_WATCHDOG and
    use direct dependencies")

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20211121150558.21801-2-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
arch/arm/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-s3c/Kconfig.s3c64xx
arch/arm/mach-s5pv210/Kconfig
drivers/i2c/busses/Kconfig