dm: rtc: Rename gregorian day function
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:17 +0000 (12:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:20 +0000 (20:58 -0600)
commit199e87c340bdd69a89e22f12e1201d67767e91a8
treef7e7935465d4937cf550f49fde8d259d179b574c
parentc3ec646dde0428b96a67afd8c4c7b7db9dd4ca46
dm: rtc: Rename gregorian day function

Change this function name to something more descriptive. Also return a
failure code if it cannot calculate a correct value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
common/cmd_date.c
drivers/rtc/date.c
drivers/rtc/ds1306.c
include/rtc.h