[U-Boot] [PATCH 08/20] dm: rtc: Rename mktime() and reduce the number of parameters

Simon Glass sjg at chromium.org
Mon May 4 16:20:20 CEST 2015


On 20 April 2015 at 23:17, Heiko Schocher <hs at denx.de> wrote:
> Hello Simon,
>
> Am 20.04.2015 20:37, schrieb Simon Glass:
>>
>> 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 at chromium.org>
>> ---
>>
>>   drivers/rtc/at91sam9_rtt.c |  3 +--
>>   drivers/rtc/bfin_rtc.c     |  3 +--
>>   drivers/rtc/date.c         | 23 ++++++++++++-----------
>>   drivers/rtc/ds1306.c       |  3 +--
>>   drivers/rtc/ds1374.c       |  4 +---
>>   drivers/rtc/ftrtc010.c     |  3 +--
>>   drivers/rtc/imxdi.c        |  3 +--
>>   drivers/rtc/mc13xxx-rtc.c  |  3 +--
>>   drivers/rtc/mpc8xx.c       |  3 +--
>>   drivers/rtc/mx27rtc.c      |  3 +--
>>   drivers/rtc/mxsrtc.c       |  3 +--
>>   drivers/rtc/pl031.c        |  3 +--
>>   include/rtc.h              | 16 +++++++++++++---
>>   post/drivers/rtc.c         | 22 ++++++++++++++++++----
>>   14 files changed, 54 insertions(+), 41 deletions(-)
>
>
> Acked-by: Heiko Schocher <hs at denx.de>

Applied to u-boot-dm.


More information about the U-Boot mailing list