summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds3234.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 15:05:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:07:47 -0700
commit97dd89693d1bc30060a5096c3c92274931e66f45 (patch)
tree357ca6ea62a62869f98bcb66edfa168862058097 /drivers/rtc/rtc-ds3234.c
parent7b2f0053b7dad07e1a18d0e46bc7ef4fb8ac564c (diff)
downloadop-kernel-dev-97dd89693d1bc30060a5096c3c92274931e66f45.zip
op-kernel-dev-97dd89693d1bc30060a5096c3c92274931e66f45.tar.gz
drivers/rtc/rtc-ds3234.c: fix whitespace issue
Fixes the following warning: WARNING: please, no space before tabs Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds3234.c')
-rw-r--r--drivers/rtc/rtc-ds3234.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds3234.c b/drivers/rtc/rtc-ds3234.c
index ba98c0e..67f1a80 100644
--- a/drivers/rtc/rtc-ds3234.c
+++ b/drivers/rtc/rtc-ds3234.c
@@ -73,7 +73,7 @@ static int ds3234_read_time(struct device *dev, struct rtc_time *dt)
dt->tm_wday = bcd2bin(buf[3]) - 1; /* 0 = Sun */
dt->tm_mday = bcd2bin(buf[4]);
dt->tm_mon = bcd2bin(buf[5] & 0x1f) - 1; /* 0 = Jan */
- dt->tm_year = bcd2bin(buf[6] & 0xff) + 100; /* Assume 20YY */
+ dt->tm_year = bcd2bin(buf[6] & 0xff) + 100; /* Assume 20YY */
return rtc_valid_tm(dt);
}
OpenPOWER on IntegriCloud