u-boot/drivers/rtc
Simon Glass 9f9276c34c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code
Rename this function so that it is clear that it is provided by the RTC.
Also return an error when it cannot function as expected. This is unlikely
to occur since it works for dates since 1752 and many RTCs do not support
such old dates. Still it is better to be accurate.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
2015-05-05 20:58:20 -06:00
..
at91sam9_rtt.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
bfin_rtc.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
date.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
davinci.c am33xx, davinci: Create and use <asm/davinci_rtc.h> 2013-11-01 15:30:22 -04:00
ds164x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ds174x.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ds1302.c rtc: allow rtc_set to return an error and use it in cmd_date 2008-09-07 00:56:36 +02:00
ds1306.c dm: rtc: Rename gregorian day function 2015-05-05 20:58:20 -06:00
ds1307.c RTC: add support for DS1339 (using DS1307 driver) 2014-08-14 14:45:58 +02:00
ds1337.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ds1374.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
ds1556.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ds3231.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftrtc010.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
imxdi.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
isl1208.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
m41t11.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
m41t60.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
m41t62.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
m41t94.c Fix for Void function returning value in sbc35-a9g20 2009-11-27 16:26:11 -06:00
m48t35ax.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile mpc8260: remove atc board support 2015-01-05 12:08:55 -05:00
max6900.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mc13xxx-rtc.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
mc146818.c remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
mcfrtc.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
mk48t59.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc5xxx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xx.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
mvrtc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mvrtc.h Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
mx27rtc.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
mxsrtc.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
pcf8563.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pl031.c dm: rtc: Rename to_tm() to rtc_to_tm() and add error code 2015-05-05 20:58:20 -06:00
pt7c4338.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rs5c372.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
rtc4543.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rv3029.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rx8025.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
s3c24x0_rtc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
x1205.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00