Skip to contentSkip to conversation

rtc: remove unnecessary Kconfig dependencies

PATCH In review Alexandre Belloni 2 participants 2 messages Apr 2, 2019 – Apr 3, 2019 Real time clock (RTC)

lore
Share & tools
lore

Alexandre Belloni

author maintainer
#0 lore raw

PATCH 1/1 rtc: remove unnecessary Kconfig dependencies

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

---
 drivers/rtc/Kconfig | 2 --
 1 file changed, 2 deletions(-)
drivers/rtc/Kconfig +0 -2
index 23b4102ee824..7b8e156dbf38 100644
@@ -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.
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alexandre Belloni

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

Cheers,
-Mukesh

Quoted 24 lines
---
  drivers/rtc/Kconfig | 2 --
  1 file changed, 2 deletions(-)
drivers/rtc/Kconfig +0 -2
index 23b4102ee824..7b8e156dbf38 100644
@@ -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.