summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAkshay Bhat <akshay.bhat@timesys.com>2017-11-03 18:32:39 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-08 07:52:25 +0100
commite0b6576fcd01b7dea606312d36b91ed0c047673b (patch)
tree188aacb4de89582e0c7e34a19749fba6ed61c5b0 /drivers/rtc
parentrtc: m41t80: remove unneeded checks from m41t80_sqw_set_rate (diff)
downloadlinux-e0b6576fcd01b7dea606312d36b91ed0c047673b.tar.xz
linux-e0b6576fcd01b7dea606312d36b91ed0c047673b.zip
rtc: rx8010: Remove duplicate define
Remove duplicate define for RX8010_YEAR Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rx8010.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c
index 1ed3403ff8ac..f948f7547806 100644
--- a/drivers/rtc/rtc-rx8010.c
+++ b/drivers/rtc/rtc-rx8010.c
@@ -24,7 +24,6 @@
#define RX8010_MDAY 0x14
#define RX8010_MONTH 0x15
#define RX8010_YEAR 0x16
-#define RX8010_YEAR 0x16
#define RX8010_RESV17 0x17
#define RX8010_ALMIN 0x18
#define RX8010_ALHOUR 0x19