2d4bd81e39
rtc_get_memory() and rtc_set_memory() helpers only work with TYPE_MC146818_RTC devices. 'memory' in their name refer to the CMOS region. Rename them as mc146818rtc_get_cmos_data() and mc146818rtc_set_cmos_data() to be explicit about what they are doing. Mechanical change doing: $ sed -i -e 's/rtc_set_memory/mc146818rtc_set_cmos_data/g' \ $(git grep -wl rtc_set_memory) $ sed -i -e 's/rtc_get_memory/mc146818rtc_get_cmos_data/g' \ $(git grep -wl rtc_get_memory) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230210233116.80311-4-philmd@linaro.org> |
||
---|---|---|
.. | ||
allwinner-rtc.c | ||
aspeed_rtc.c | ||
ds1338.c | ||
exynos4210_rtc.c | ||
goldfish_rtc.c | ||
Kconfig | ||
ls7a_rtc.c | ||
m41t80.c | ||
m48t59-internal.h | ||
m48t59-isa.c | ||
m48t59.c | ||
mc146818rtc.c | ||
meson.build | ||
pl031.c | ||
sun4v-rtc.c | ||
trace-events | ||
trace.h | ||
twl92230.c | ||
xlnx-zynqmp-rtc.c |