git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: m41t80: return NULL rather than a plain 0 integer
[sfrench/cifs-2.6.git]
/
drivers
/
rtc
/
rtc-m41t80.c
diff --git
a/drivers/rtc/rtc-m41t80.c
b/drivers/rtc/rtc-m41t80.c
index f736f8c22e963b39ab1db911c627dc7bef91a264..6d383b629d20a2e65a977468ca6ca36121ef4ece 100644
(file)
--- a/
drivers/rtc/rtc-m41t80.c
+++ b/
drivers/rtc/rtc-m41t80.c
@@
-557,7
+557,7
@@
static struct clk *m41t80_sqw_register_clk(struct m41t80_data *m41t80)
* registered automatically when being referenced.
*/
of_node_put(fixed_clock);
- return
0
;
+ return
NULL
;
}
/* First disable the clock */