diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2021-10-21 23:22:55 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-10-23 23:57:23 +0200 |
commit | e4a1444e10cbda2892a4ea7325ef5efa47c75cfb (patch) | |
tree | 1e81c4b6350e4a59bb0d425530f1114e141c9c7a /drivers/rtc/rtc-rx8010.c | |
parent | dba28c37f23a09fc32dbc37463ddb2feb3886f98 (diff) | |
download | lwn-e4a1444e10cbda2892a4ea7325ef5efa47c75cfb.tar.gz lwn-e4a1444e10cbda2892a4ea7325ef5efa47c75cfb.zip |
rtc: s3c: Extract read/write IO into separate functions
Create dedicated functions for I/O operations and BCD conversion. It can
be useful to separate those from representation conversion and other
stuff found in RTC callbacks.
This patch does not introduce any functional changes, it's merely
refactoring change.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211021202256.28517-3-semen.protsenko@linaro.org
Diffstat (limited to 'drivers/rtc/rtc-rx8010.c')
0 files changed, 0 insertions, 0 deletions