rtc: pcf2123: clean up reads from the chip
Put read operations into a function. This improves modularity and readability. Signed-off-by: NJoshua Clayton <stillcompiling@gmail.com> Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Showing
想要评论请 注册 或 登录