summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/ds1302.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-20 16:00:29 +0200
committerWolfgang Denk <wd@denx.de>2008-05-21 00:14:08 +0200
commit53677ef18e25c97ac613349087c5cb33ae5a2741 (patch)
treef947d34d6efaee2401ea0e4c6104ef2f6a0f7ad0 /drivers/rtc/ds1302.c
parent727f63334676e760877d43bfb8f0e9331ac8b101 (diff)
downloadblackbird-obmc-uboot-53677ef18e25c97ac613349087c5cb33ae5a2741.tar.gz
blackbird-obmc-uboot-53677ef18e25c97ac613349087c5cb33ae5a2741.zip
Big white-space cleanup.
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/rtc/ds1302.c')
-rw-r--r--drivers/rtc/ds1302.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c
index 3a856c840a..e4e9154754 100644
--- a/drivers/rtc/ds1302.c
+++ b/drivers/rtc/ds1302.c
@@ -66,7 +66,7 @@ struct ds1302_st
unsigned char month:4;
unsigned char zero4:5;
- unsigned char day:3; /* day of week */
+ unsigned char day:3; /* day of week */
unsigned char year10:4;
unsigned char year:4;
@@ -191,7 +191,7 @@ write_ser_drv(unsigned char addr, unsigned char *buf, int count)
void
rtc_init(void)
{
- struct ds1302_st bbclk;
+ struct ds1302_st bbclk;
unsigned char b;
int mod;
OpenPOWER on IntegriCloud