mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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>
This commit is contained in:
parent
7b2f0053b7
commit
97dd89693d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user