drivers/rtc: sync with the lastest NuttX
authorHeesub Shin <heesub.shin@samsung.com>
Sun, 2 Apr 2017 08:46:13 +0000 (17:46 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:05 +0000 (12:02 +0900)
commit3928f9fadfa5f0afdd37e73bb2bd71665d684e97
tree40819554053ce77dfb7a3d1ff5a36b0a11cec33a
parentef7245286b44301b1af830a1b9dfc11e01950073
drivers/rtc: sync with the lastest NuttX

RTC subsystem (drivers/rtc.c and related header files) in TinyARA seems
to be outdated, so it is hard to write the lower-half driver for it.
This commit updates the RTC subsystem of TinyARA with the lastest NuttX,
which looks well-structured.

This commit mainly updates the source code that is related with RTC and
does not introduce any functional differences.

Change-Id: If622b1c82c645103e43da79d3c48c56e7523d1e7
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/s5j_rtc.c
os/drivers/rtc.c
os/include/tinyara/arch.h
os/include/tinyara/rtc.h
os/kernel/clock/clock_initialize.c
os/kernel/clock/clock_settime.c