summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max6916.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-11-01 14:53:52 +0000
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-11-12 23:14:07 +0100
commit725412d9e07aad88767ad847dcc81d60b617af99 (patch)
treedcac95835d043eb6f836eed16368f5e7c5eafe63 /drivers/rtc/rtc-max6916.c
parentc50156526a2f7176b50134e3e5fb108ba09791b2 (diff)
rtc: clean up indentation issues, remove extraneous space, add missing tabs
Trivial fix to clean up indentation issues, remove spaces, add missing tabs Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-max6916.c')
-rw-r--r--drivers/rtc/rtc-max6916.c2
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)
if (dt->tm_year < 100 || dt->tm_year > 199) {
dev_err(&spi->dev, "Year must be between 2000 and 2099. It's %d.\n",
dt->tm_year + 1900);
- return -EINVAL;
+ return -EINVAL;
}
buf[0] = MAX6916_CLOCK_BURST & 0x7F;