2019-04-02 21:57:03

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] rtc: remove unnecessary Kconfig dependencies

Remove the unused "depends on I2C" as the config options are already
guarded by if I2C.

Signed-off-by: Alexandre Belloni <[email protected]>
---
drivers/rtc/Kconfig | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 23b4102ee824..7b8e156dbf38 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -448,7 +448,6 @@ config RTC_DRV_PCF85063

config RTC_DRV_PCF85363
tristate "NXP PCF85363"
- depends on I2C
select REGMAP_I2C
help
If you say yes here you get support for the PCF85363 RTC chip.
@@ -603,7 +602,6 @@ config RTC_DRV_FM3130

config RTC_DRV_RX8010
tristate "Epson RX8010SJ"
- depends on I2C
help
If you say yes here you get support for the Epson RX8010SJ RTC
chip.
--
2.20.1


2019-04-03 06:04:12

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] rtc: remove unnecessary Kconfig dependencies


On 4/3/2019 3:24 AM, Alexandre Belloni wrote:
> Remove the unused "depends on I2C" as the config options are already
> guarded by if I2C.
>
> Signed-off-by: Alexandre Belloni <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>

Cheers,
-Mukesh
> ---
> drivers/rtc/Kconfig | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 23b4102ee824..7b8e156dbf38 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -448,7 +448,6 @@ config RTC_DRV_PCF85063
>
> config RTC_DRV_PCF85363
> tristate "NXP PCF85363"
> - depends on I2C
> select REGMAP_I2C
> help
> If you say yes here you get support for the PCF85363 RTC chip.
> @@ -603,7 +602,6 @@ config RTC_DRV_FM3130
>
> config RTC_DRV_RX8010
> tristate "Epson RX8010SJ"
> - depends on I2C
> help
> If you say yes here you get support for the Epson RX8010SJ RTC
> chip.