]> git.dujemihanovic.xyz Git - u-boot.git/commit
rtc: pcf2127: provide ->read method
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Mon, 6 Jul 2020 20:01:13 +0000 (22:01 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 9 Jul 2020 04:02:45 +0000 (06:02 +0200)
commita518dd6336ff511c2a3d38e4410281a90b4e16ea
tree8a866c364a72bf8def3717196bfd2e07b2d8d483
parent5113f0b65a6a1ce79f4befa4e99f3e8e4a1eb9b0
rtc: pcf2127: provide ->read method

This simply consists of renaming the existing pcf2127_read_reg()
helper to follow the naming of the other
methods (i.e. pcf2127_rtc_<method name>) and changing the type of its
"len" parameter.

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
drivers/rtc/pcf2127.c