]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: rtc: Rename mktime() and reduce the number of parameters
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:19 +0000 (12:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:14 +0000 (22:37 +0200)
commitdc2ece84e53f155f7304d12cc2e95b7e8a2d025d
tree542b759f94cae9f2166a31c74c22bbbfbf3e7687
parent7c9886441eb93085fa41f30b373ec66c0e9652e0
dm: rtc: Rename mktime() and reduce the number of parameters

Most callers unpack the structure and pass each member. It seems better to
pass the whole structure instead, as with the C library. Also add an rtc_
prefix.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
14 files changed:
drivers/rtc/at91sam9_rtt.c
drivers/rtc/bfin_rtc.c
drivers/rtc/date.c
drivers/rtc/ds1306.c
drivers/rtc/ds1374.c
drivers/rtc/ftrtc010.c
drivers/rtc/imxdi.c
drivers/rtc/mc13xxx-rtc.c
drivers/rtc/mpc8xx.c
drivers/rtc/mx27rtc.c
drivers/rtc/mxsrtc.c
drivers/rtc/pl031.c
include/rtc.h
post/drivers/rtc.c