Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365921
| From | Mylène Josserand <mylene.josserand@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/8] rtc: m41t80: remove proc macro |
| Date | 2016-03-29 09:00 +0200 |
| Message-ID | <rhVN8-2iO-31@gated-at.bofh.it> (permalink) |
| References | <rhVN7-2iO-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/rtc/rtc-m41t80.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c
index 2721789..cc8b93d 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)
return 0;
}
-#if defined(CONFIG_RTC_INTF_PROC) || defined(CONFIG_RTC_INTF_PROC_MODULE)
static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
{
struct i2c_client *client = to_i2c_client(dev);
@@ -206,9 +205,6 @@ static int m41t80_rtc_proc(struct device *dev, struct seq_file *seq)
}
return 0;
}
-#else
-#define m41t80_rtc_proc NULL
-#endif
static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm)
{
--
2.8.0.rc3
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/8] rtc: m41t80: update and add functionalities Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 1/8] rtc: m41t80: update sysfs entries export Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 8/8] rtc: m41t80: handle oscillator failure bit Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 6/8] rtc: m41t80: add alarm functionality Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 4/8] rtc: m41t80: add the use of 'BIT' macro Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 2/8] rtc: m41t80: remove proc macro Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200 [PATCH 3/8] rtc: m41t80: replace i2c functions to smbus ones Mylène Josserand <mylene.josserand@free-electrons.com> - 2016-03-29 09:00 +0200
csiph-web