diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-10-04 20:13:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:03 -0400 |
commit | 6b8029fab64164b5895d58d23229b75c82e3a6fc (patch) | |
tree | eb9dcecf44044986ecdd31855eb115522bdb3ed4 /drivers/rtc | |
parent | 94c01ab6d754435333a989e3c6f4a20f57537754 (diff) |
rtc: kconfig: remove unnecessary dependencies.
Remove "depends on RTC_CLASS = y" for multiple Kconfig definitions, as all
of them are already placed under "if RTC_CLASS".
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 499fb9984abe..f92d17bc9566 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -19,7 +19,6 @@ if RTC_CLASS | |||
19 | 19 | ||
20 | config RTC_HCTOSYS | 20 | config RTC_HCTOSYS |
21 | bool "Set system time from RTC on startup and resume" | 21 | bool "Set system time from RTC on startup and resume" |
22 | depends on RTC_CLASS = y | ||
23 | default y | 22 | default y |
24 | help | 23 | help |
25 | If you say yes here, the system time (wall clock) will be set using | 24 | If you say yes here, the system time (wall clock) will be set using |
@@ -51,7 +50,6 @@ config RTC_HCTOSYS_DEVICE | |||
51 | 50 | ||
52 | config RTC_DEBUG | 51 | config RTC_DEBUG |
53 | bool "RTC debug support" | 52 | bool "RTC debug support" |
54 | depends on RTC_CLASS = y | ||
55 | help | 53 | help |
56 | Say yes here to enable debugging support in the RTC framework | 54 | Say yes here to enable debugging support in the RTC framework |
57 | and individual RTC drivers. | 55 | and individual RTC drivers. |
@@ -61,7 +59,6 @@ comment "RTC interfaces" | |||
61 | config RTC_INTF_SYSFS | 59 | config RTC_INTF_SYSFS |
62 | boolean "/sys/class/rtc/rtcN (sysfs)" | 60 | boolean "/sys/class/rtc/rtcN (sysfs)" |
63 | depends on SYSFS | 61 | depends on SYSFS |
64 | default RTC_CLASS | ||
65 | help | 62 | help |
66 | Say yes here if you want to use your RTCs using sysfs interfaces, | 63 | Say yes here if you want to use your RTCs using sysfs interfaces, |
67 | /sys/class/rtc/rtc0 through /sys/.../rtcN. | 64 | /sys/class/rtc/rtc0 through /sys/.../rtcN. |
@@ -71,7 +68,6 @@ config RTC_INTF_SYSFS | |||
71 | config RTC_INTF_PROC | 68 | config RTC_INTF_PROC |
72 | boolean "/proc/driver/rtc (procfs for rtcN)" | 69 | boolean "/proc/driver/rtc (procfs for rtcN)" |
73 | depends on PROC_FS | 70 | depends on PROC_FS |
74 | default RTC_CLASS | ||
75 | help | 71 | help |
76 | Say yes here if you want to use your system clock RTC through | 72 | Say yes here if you want to use your system clock RTC through |
77 | the proc interface, /proc/driver/rtc. | 73 | the proc interface, /proc/driver/rtc. |
@@ -83,7 +79,6 @@ config RTC_INTF_PROC | |||
83 | 79 | ||
84 | config RTC_INTF_DEV | 80 | config RTC_INTF_DEV |
85 | boolean "/dev/rtcN (character devices)" | 81 | boolean "/dev/rtcN (character devices)" |
86 | default RTC_CLASS | ||
87 | help | 82 | help |
88 | Say yes here if you want to use your RTCs using the /dev | 83 | Say yes here if you want to use your RTCs using the /dev |
89 | interfaces, which "udev" sets up as /dev/rtc0 through | 84 | interfaces, which "udev" sets up as /dev/rtc0 through |
@@ -129,7 +124,7 @@ if I2C | |||
129 | 124 | ||
130 | config RTC_DRV_88PM860X | 125 | config RTC_DRV_88PM860X |
131 | tristate "Marvell 88PM860x" | 126 | tristate "Marvell 88PM860x" |
132 | depends on RTC_CLASS && I2C && MFD_88PM860X | 127 | depends on I2C && MFD_88PM860X |
133 | help | 128 | help |
134 | If you say yes here you get support for RTC function in Marvell | 129 | If you say yes here you get support for RTC function in Marvell |
135 | 88PM860x chips. | 130 | 88PM860x chips. |
@@ -139,7 +134,7 @@ config RTC_DRV_88PM860X | |||
139 | 134 | ||
140 | config RTC_DRV_88PM80X | 135 | config RTC_DRV_88PM80X |
141 | tristate "Marvell 88PM80x" | 136 | tristate "Marvell 88PM80x" |
142 | depends on RTC_CLASS && I2C && MFD_88PM800 | 137 | depends on I2C && MFD_88PM800 |
143 | help | 138 | help |
144 | If you say yes here you get support for RTC function in Marvell | 139 | If you say yes here you get support for RTC function in Marvell |
145 | 88PM80x chips. | 140 | 88PM80x chips. |
@@ -167,7 +162,7 @@ config RTC_DRV_DS1307 | |||
167 | 162 | ||
168 | config RTC_DRV_DS1374 | 163 | config RTC_DRV_DS1374 |
169 | tristate "Dallas/Maxim DS1374" | 164 | tristate "Dallas/Maxim DS1374" |
170 | depends on RTC_CLASS && I2C | 165 | depends on I2C |
171 | help | 166 | help |
172 | If you say yes here you get support for Dallas Semiconductor | 167 | If you say yes here you get support for Dallas Semiconductor |
173 | DS1374 real-time clock chips. If an interrupt is associated | 168 | DS1374 real-time clock chips. If an interrupt is associated |
@@ -187,7 +182,7 @@ config RTC_DRV_DS1672 | |||
187 | 182 | ||
188 | config RTC_DRV_DS3232 | 183 | config RTC_DRV_DS3232 |
189 | tristate "Dallas/Maxim DS3232" | 184 | tristate "Dallas/Maxim DS3232" |
190 | depends on RTC_CLASS && I2C | 185 | depends on I2C |
191 | help | 186 | help |
192 | If you say yes here you get support for Dallas Semiconductor | 187 | If you say yes here you get support for Dallas Semiconductor |
193 | DS3232 real-time clock chips. If an interrupt is associated | 188 | DS3232 real-time clock chips. If an interrupt is associated |
@@ -337,7 +332,7 @@ config RTC_DRV_TWL92330 | |||
337 | 332 | ||
338 | config RTC_DRV_TWL4030 | 333 | config RTC_DRV_TWL4030 |
339 | tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0" | 334 | tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0" |
340 | depends on RTC_CLASS && TWL4030_CORE | 335 | depends on TWL4030_CORE |
341 | help | 336 | help |
342 | If you say yes here you get support for the RTC on the | 337 | If you say yes here you get support for the RTC on the |
343 | TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms. | 338 | TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms. |
@@ -560,7 +555,6 @@ config RTC_DRV_DS1302 | |||
560 | 555 | ||
561 | config RTC_DRV_DS1511 | 556 | config RTC_DRV_DS1511 |
562 | tristate "Dallas DS1511" | 557 | tristate "Dallas DS1511" |
563 | depends on RTC_CLASS | ||
564 | help | 558 | help |
565 | If you say yes here you get support for the | 559 | If you say yes here you get support for the |
566 | Dallas DS1511 timekeeping/watchdog chip. | 560 | Dallas DS1511 timekeeping/watchdog chip. |
@@ -605,7 +599,6 @@ config RTC_DRV_EFI | |||
605 | 599 | ||
606 | config RTC_DRV_STK17TA8 | 600 | config RTC_DRV_STK17TA8 |
607 | tristate "Simtek STK17TA8" | 601 | tristate "Simtek STK17TA8" |
608 | depends on RTC_CLASS | ||
609 | help | 602 | help |
610 | If you say yes here you get support for the | 603 | If you say yes here you get support for the |
611 | Simtek STK17TA8 timekeeping chip. | 604 | Simtek STK17TA8 timekeeping chip. |
@@ -742,7 +735,7 @@ config RTC_DRV_AB8500 | |||
742 | 735 | ||
743 | config RTC_DRV_NUC900 | 736 | config RTC_DRV_NUC900 |
744 | tristate "NUC910/NUC920 RTC driver" | 737 | tristate "NUC910/NUC920 RTC driver" |
745 | depends on RTC_CLASS && ARCH_W90X900 | 738 | depends on ARCH_W90X900 |
746 | help | 739 | help |
747 | If you say yes here you get support for the RTC subsystem of the | 740 | If you say yes here you get support for the RTC subsystem of the |
748 | NUC910/NUC920 used in embedded systems. | 741 | NUC910/NUC920 used in embedded systems. |
@@ -762,7 +755,6 @@ config RTC_DRV_DAVINCI | |||
762 | config RTC_DRV_IMXDI | 755 | config RTC_DRV_IMXDI |
763 | tristate "Freescale IMX DryIce Real Time Clock" | 756 | tristate "Freescale IMX DryIce Real Time Clock" |
764 | depends on SOC_IMX25 | 757 | depends on SOC_IMX25 |
765 | depends on RTC_CLASS | ||
766 | help | 758 | help |
767 | Support for Freescale IMX DryIce RTC | 759 | Support for Freescale IMX DryIce RTC |
768 | 760 | ||
@@ -822,7 +814,7 @@ config RTC_DRV_SA1100 | |||
822 | 814 | ||
823 | config RTC_DRV_SH | 815 | config RTC_DRV_SH |
824 | tristate "SuperH On-Chip RTC" | 816 | tristate "SuperH On-Chip RTC" |
825 | depends on RTC_CLASS && SUPERH && HAVE_CLK | 817 | depends on SUPERH && HAVE_CLK |
826 | help | 818 | help |
827 | Say Y here to enable support for the on-chip RTC found in | 819 | Say Y here to enable support for the on-chip RTC found in |
828 | most SuperH processors. | 820 | most SuperH processors. |
@@ -1054,7 +1046,6 @@ config RTC_DRV_MPC5121 | |||
1054 | 1046 | ||
1055 | config RTC_DRV_JZ4740 | 1047 | config RTC_DRV_JZ4740 |
1056 | tristate "Ingenic JZ4740 SoC" | 1048 | tristate "Ingenic JZ4740 SoC" |
1057 | depends on RTC_CLASS | ||
1058 | depends on MACH_JZ4740 | 1049 | depends on MACH_JZ4740 |
1059 | help | 1050 | help |
1060 | If you say yes here you get support for the Ingenic JZ4740 SoC RTC | 1051 | If you say yes here you get support for the Ingenic JZ4740 SoC RTC |
@@ -1084,7 +1075,7 @@ config RTC_DRV_PM8XXX | |||
1084 | 1075 | ||
1085 | config RTC_DRV_TEGRA | 1076 | config RTC_DRV_TEGRA |
1086 | tristate "NVIDIA Tegra Internal RTC driver" | 1077 | tristate "NVIDIA Tegra Internal RTC driver" |
1087 | depends on RTC_CLASS && ARCH_TEGRA | 1078 | depends on ARCH_TEGRA |
1088 | help | 1079 | help |
1089 | If you say yes here you get support for the | 1080 | If you say yes here you get support for the |
1090 | Tegra 200 series internal RTC module. | 1081 | Tegra 200 series internal RTC module. |
@@ -1121,7 +1112,6 @@ config RTC_DRV_LOONGSON1 | |||
1121 | config RTC_DRV_MXC | 1112 | config RTC_DRV_MXC |
1122 | tristate "Freescale MXC Real Time Clock" | 1113 | tristate "Freescale MXC Real Time Clock" |
1123 | depends on ARCH_MXC | 1114 | depends on ARCH_MXC |
1124 | depends on RTC_CLASS | ||
1125 | help | 1115 | help |
1126 | If you say yes here you get support for the Freescale MXC | 1116 | If you say yes here you get support for the Freescale MXC |
1127 | RTC module. | 1117 | RTC module. |