diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-06-08 13:27:37 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-06-24 19:13:48 -0400 |
commit | 3783055ef4cf096910f670f9a1a32e32db08559b (patch) | |
tree | a0782d39ee9452bfe1173404a272beff84ab2bf8 /drivers/rtc | |
parent | 98ab2c938c7f77741ed09ee8ce21e8d7770669ef (diff) |
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 6db0a9d75f8d..ca3432c83333 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -146,7 +146,7 @@ if I2C | |||
146 | 146 | ||
147 | config RTC_DRV_88PM860X | 147 | config RTC_DRV_88PM860X |
148 | tristate "Marvell 88PM860x" | 148 | tristate "Marvell 88PM860x" |
149 | depends on I2C && MFD_88PM860X | 149 | depends on MFD_88PM860X |
150 | help | 150 | help |
151 | If you say yes here you get support for RTC function in Marvell | 151 | If you say yes here you get support for RTC function in Marvell |
152 | 88PM860x chips. | 152 | 88PM860x chips. |
@@ -156,7 +156,7 @@ config RTC_DRV_88PM860X | |||
156 | 156 | ||
157 | config RTC_DRV_88PM80X | 157 | config RTC_DRV_88PM80X |
158 | tristate "Marvell 88PM80x" | 158 | tristate "Marvell 88PM80x" |
159 | depends on I2C && MFD_88PM800 | 159 | depends on MFD_88PM800 |
160 | help | 160 | help |
161 | If you say yes here you get support for RTC function in Marvell | 161 | If you say yes here you get support for RTC function in Marvell |
162 | 88PM80x chips. | 162 | 88PM80x chips. |
@@ -165,7 +165,6 @@ config RTC_DRV_88PM80X | |||
165 | will be called rtc-88pm80x. | 165 | will be called rtc-88pm80x. |
166 | 166 | ||
167 | config RTC_DRV_ABB5ZES3 | 167 | config RTC_DRV_ABB5ZES3 |
168 | depends on I2C | ||
169 | select REGMAP_I2C | 168 | select REGMAP_I2C |
170 | tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3" | 169 | tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3" |
171 | help | 170 | help |
@@ -215,7 +214,6 @@ config RTC_DRV_DS1307 | |||
215 | 214 | ||
216 | config RTC_DRV_DS1374 | 215 | config RTC_DRV_DS1374 |
217 | tristate "Dallas/Maxim DS1374" | 216 | tristate "Dallas/Maxim DS1374" |
218 | depends on I2C | ||
219 | help | 217 | help |
220 | If you say yes here you get support for Dallas Semiconductor | 218 | If you say yes here you get support for Dallas Semiconductor |
221 | DS1374 real-time clock chips. If an interrupt is associated | 219 | DS1374 real-time clock chips. If an interrupt is associated |
@@ -243,7 +241,6 @@ config RTC_DRV_DS1672 | |||
243 | 241 | ||
244 | config RTC_DRV_DS3232 | 242 | config RTC_DRV_DS3232 |
245 | tristate "Dallas/Maxim DS3232" | 243 | tristate "Dallas/Maxim DS3232" |
246 | depends on I2C | ||
247 | help | 244 | help |
248 | If you say yes here you get support for Dallas Semiconductor | 245 | If you say yes here you get support for Dallas Semiconductor |
249 | DS3232 real-time clock chips. If an interrupt is associated | 246 | DS3232 real-time clock chips. If an interrupt is associated |
@@ -254,7 +251,7 @@ config RTC_DRV_DS3232 | |||
254 | 251 | ||
255 | config RTC_DRV_HYM8563 | 252 | config RTC_DRV_HYM8563 |
256 | tristate "Haoyu Microelectronics HYM8563" | 253 | tristate "Haoyu Microelectronics HYM8563" |
257 | depends on I2C && OF | 254 | depends on OF |
258 | help | 255 | help |
259 | Say Y to enable support for the HYM8563 I2C RTC chip. Apart | 256 | Say Y to enable support for the HYM8563 I2C RTC chip. Apart |
260 | from the usual rtc functions it provides a clock output of | 257 | from the usual rtc functions it provides a clock output of |
@@ -376,7 +373,6 @@ config RTC_DRV_ISL12022 | |||
376 | will be called rtc-isl12022. | 373 | will be called rtc-isl12022. |
377 | 374 | ||
378 | config RTC_DRV_ISL12057 | 375 | config RTC_DRV_ISL12057 |
379 | depends on I2C | ||
380 | select REGMAP_I2C | 376 | select REGMAP_I2C |
381 | tristate "Intersil ISL12057" | 377 | tristate "Intersil ISL12057" |
382 | help | 378 | help |