drivers/rtc/rtc-m41t80.c: fix spacing related issue
Silences the following checkpatch warning: WARNING: space prohibited before semicolon 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
c865e9220d
commit
e46527d289
|
@ -168,7 +168,7 @@ static int m41t80_set_datetime(struct i2c_client *client, struct rtc_time *tm)
|
|||
buf[M41T80_REG_MIN] =
|
||||
bin2bcd(tm->tm_min) | (buf[M41T80_REG_MIN] & ~0x7f);
|
||||
buf[M41T80_REG_HOUR] =
|
||||
bin2bcd(tm->tm_hour) | (buf[M41T80_REG_HOUR] & ~0x3f) ;
|
||||
bin2bcd(tm->tm_hour) | (buf[M41T80_REG_HOUR] & ~0x3f);
|
||||
buf[M41T80_REG_WDAY] =
|
||||
(tm->tm_wday & 0x07) | (buf[M41T80_REG_WDAY] & ~0x07);
|
||||
buf[M41T80_REG_DAY] =
|
||||
|
|
Loading…
Reference in New Issue