فهرست منبع

rtc: remove useless I2C dependencies

Multiple options depend on I2C but are already under under if I2C. Remove
those useless dependencies.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni 10 سال پیش
والد
کامیت
3783055ef4
1فایلهای تغییر یافته به همراه3 افزوده شده و 7 حذف شده
  1. 3 7
      drivers/rtc/Kconfig

+ 3 - 7
drivers/rtc/Kconfig

@@ -146,7 +146,7 @@ if I2C
 
 
 config RTC_DRV_88PM860X
 config RTC_DRV_88PM860X
 	tristate "Marvell 88PM860x"
 	tristate "Marvell 88PM860x"
-	depends on I2C && MFD_88PM860X
+	depends on MFD_88PM860X
 	help
 	help
 	  If you say yes here you get support for RTC function in Marvell
 	  If you say yes here you get support for RTC function in Marvell
 	  88PM860x chips.
 	  88PM860x chips.
@@ -156,7 +156,7 @@ config RTC_DRV_88PM860X
 
 
 config RTC_DRV_88PM80X
 config RTC_DRV_88PM80X
 	tristate "Marvell 88PM80x"
 	tristate "Marvell 88PM80x"
-	depends on I2C && MFD_88PM800
+	depends on MFD_88PM800
 	help
 	help
 	  If you say yes here you get support for RTC function in Marvell
 	  If you say yes here you get support for RTC function in Marvell
 	  88PM80x chips.
 	  88PM80x chips.
@@ -165,7 +165,6 @@ config RTC_DRV_88PM80X
 	  will be called rtc-88pm80x.
 	  will be called rtc-88pm80x.
 
 
 config RTC_DRV_ABB5ZES3
 config RTC_DRV_ABB5ZES3
-	depends on I2C
 	select REGMAP_I2C
 	select REGMAP_I2C
 	tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
 	tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
 	help
 	help
@@ -215,7 +214,6 @@ config RTC_DRV_DS1307
 
 
 config RTC_DRV_DS1374
 config RTC_DRV_DS1374
 	tristate "Dallas/Maxim DS1374"
 	tristate "Dallas/Maxim DS1374"
-	depends on I2C
 	help
 	help
 	  If you say yes here you get support for Dallas Semiconductor
 	  If you say yes here you get support for Dallas Semiconductor
 	  DS1374 real-time clock chips. If an interrupt is associated
 	  DS1374 real-time clock chips. If an interrupt is associated
@@ -243,7 +241,6 @@ config RTC_DRV_DS1672
 
 
 config RTC_DRV_DS3232
 config RTC_DRV_DS3232
 	tristate "Dallas/Maxim DS3232"
 	tristate "Dallas/Maxim DS3232"
-	depends on I2C
 	help
 	help
 	  If you say yes here you get support for Dallas Semiconductor
 	  If you say yes here you get support for Dallas Semiconductor
 	  DS3232 real-time clock chips. If an interrupt is associated
 	  DS3232 real-time clock chips. If an interrupt is associated
@@ -254,7 +251,7 @@ config RTC_DRV_DS3232
 
 
 config RTC_DRV_HYM8563
 config RTC_DRV_HYM8563
 	tristate "Haoyu Microelectronics HYM8563"
 	tristate "Haoyu Microelectronics HYM8563"
-	depends on I2C && OF
+	depends on OF
 	help
 	help
 	  Say Y to enable support for the HYM8563 I2C RTC chip. Apart
 	  Say Y to enable support for the HYM8563 I2C RTC chip. Apart
 	  from the usual rtc functions it provides a clock output of
 	  from the usual rtc functions it provides a clock output of
@@ -376,7 +373,6 @@ config RTC_DRV_ISL12022
 	  will be called rtc-isl12022.
 	  will be called rtc-isl12022.
 
 
 config RTC_DRV_ISL12057
 config RTC_DRV_ISL12057
-	depends on I2C
 	select REGMAP_I2C
 	select REGMAP_I2C
 	tristate "Intersil ISL12057"
 	tristate "Intersil ISL12057"
 	help
 	help