projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e327768
)
rtc: ds3231/ds3232: fix coding style
author
Biwen Li
<biwen.li@nxp.com>
Tue, 27 Aug 2019 07:32:36 +0000
(15:32 +0800)
committer
Tom Rini
<trini@konsulko.com>
Thu, 19 Sep 2019 16:18:53 +0000
(12:18 -0400)
The patch fixes coding style
Signed-off-by: Biwen Li <biwen.li@nxp.com>
drivers/rtc/ds3231.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/ds3231.c
b/drivers/rtc/ds3231.c
index fde4d860ec188ad9daf2afec98acc1782064bbad..eb5ce73a7613f0b22f5a13699a21b77fcc92a4cf 100644
(file)
--- a/
drivers/rtc/ds3231.c
+++ b/
drivers/rtc/ds3231.c
@@
-260,10
+260,11
@@
int rtc_enable_32khz_output(int busnum, int chip_addr)
struct udevice *dev;
ret = i2c_get_chip_for_busnum(busnum, chip_addr, 1, &dev);
- if (!ret)
+ if (!ret)
{
ret = dm_i2c_reg_write(dev, RTC_STAT_REG_ADDR,
RTC_STAT_BIT_BB32KHZ |
RTC_STAT_BIT_EN32KHZ);
+ }
return ret;
}
#endif