aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2016-03-29 02:55:59 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-20 06:33:51 -0400
commitca91607fe76cc34b54957f5963f7102b37b861dd (patch)
treec2422e1c1b8e71e9e6025474b3e521cec779b362 /drivers/rtc
parentef6b3125ca6f4319e760dc27617025b8af58d9d3 (diff)
rtc: m41t80: remove proc macro
Remove the CONFIG_RTC_INTF_PROC and CONFIG_RTC_INTF_PROC_MODULE macro which is not necessary anymore. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-m41t80.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index 27217898abe1..cc8b93d2edf5 100644
--- a/drivers/rtc/rtc-m41t80.c
+++ b/drivers/rtc/rtc-m41t80.c
@@ -192,7 +192,6 @@ static int m41t80_set_datetime(struct i2c_client *client, struct rtc_time *tm)
192 return 0; 192 return 0;
193} 193}
194 194
195#if defined(CONFIG_RTC_INTF_PROC) || defined(CONFIG_RTC_INTF_PROC_MODULE)
196static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq) 195static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
197{ 196{
198 struct i2c_client *client = to_i2c_client(dev); 197 struct i2c_client *client = to_i2c_client(dev);
@@ -206,9 +205,6 @@ static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
206 } 205 }
207 return 0; 206 return 0;
208} 207}
209#else
210#define m41t80_rtc_proc NULL
211#endif
212 208
213static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm) 209static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm)
214{ 210{