git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
string: factorize skip_spaces and export it to be generally available
[safe/jmp/linux-2.6]
/
drivers
/
rtc
/
hctosys.c
diff --git
a/drivers/rtc/hctosys.c
b/drivers/rtc/hctosys.c
index
f48a8ae
..
33c0e98
100644
(file)
--- a/
drivers/rtc/hctosys.c
+++ b/
drivers/rtc/hctosys.c
@@
-46,19
+46,19
@@
static int __init rtc_hctosys(void)
do_settimeofday(&tv);
do_settimeofday(&tv);
- dev_info(rtc->
class_dev.dev
,
- "setting
the
system clock to "
- "%d-%02d-%02d %02d:%02d:%02d (%u)\n",
+ dev_info(rtc->
dev.parent
,
+ "setting system clock to "
+ "%d-%02d-%02d %02d:%02d:%02d
UTC
(%u)\n",
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec,
(unsigned int) tv.tv_sec);
}
else
tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
tm.tm_hour, tm.tm_min, tm.tm_sec,
(unsigned int) tv.tv_sec);
}
else
- dev_err(rtc->
class_dev.dev
,
+ dev_err(rtc->
dev.parent
,
"hctosys: invalid date/time\n");
}
else
"hctosys: invalid date/time\n");
}
else
- dev_err(rtc->
class_dev.dev
,
+ dev_err(rtc->
dev.parent
,
"hctosys: unable to read the hardware clock\n");
rtc_class_close(rtc);
"hctosys: unable to read the hardware clock\n");
rtc_class_close(rtc);