diff options
Diffstat (limited to 'drivers/rtc/rtc-max6916.c')
-rw-r--r-- | drivers/rtc/rtc-max6916.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max6916.c b/drivers/rtc/rtc-max6916.c index 7e908a490cf6..9d4b407cc4b8 100644 --- a/drivers/rtc/rtc-max6916.c +++ b/drivers/rtc/rtc-max6916.c | |||
@@ -86,7 +86,7 @@ static int max6916_set_time(struct device *dev, struct rtc_time *dt) | |||
86 | if (dt->tm_year < 100 || dt->tm_year > 199) { | 86 | if (dt->tm_year < 100 || dt->tm_year > 199) { |
87 | dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n", | 87 | dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n", |
88 | dt->tm_year + 1900); | 88 | dt->tm_year + 1900); |
89 | return -EINVAL; | 89 | return -EINVAL; |
90 | } | 90 | } |
91 | 91 | ||
92 | buf[0] = MAX6916_CLOCK_BURST & 0x7F; | 92 | buf[0] = MAX6916_CLOCK_BURST & 0x7F; |