]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf2123: clean up reads from the chip
authorJoshua Clayton <stillcompiling@gmail.com>
Mon, 4 Jan 2016 18:31:20 +0000 (10:31 -0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:07:48 +0000 (17:07 +0100)
commit44c30bc8e318655c0107c30cea9c7fbd5de23488
treedc9e67a7ff39e43fdd4612a4defd5d7cbaeda4bf
parent763e1cf55c484eba75de60f45da45bfe50dceba5
rtc: pcf2123: clean up reads from the chip

Put read operations into a function.
This improves modularity and readability.

Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-pcf2123.c