rtc: pcf2123: refactor chip reset into a function
authorJoshua Clayton <stillcompiling@gmail.com>
Mon, 4 Jan 2016 18:31:22 +0000 (10:31 -0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:07:58 +0000 (17:07 +0100)
commit1e094b946c1e2186b412118c2af3cc602cad3ac4
tree3e14496f0fbcb4a7daec78badf3f56289ae7038c
parent809b453b76e1544d245b7285fe570f3f20b8bd89
rtc: pcf2123: refactor chip reset into a function

Refactor chip reset items into its own function, isolating it from
the rest of the device probe.
Subsequent commits will avoid calling this code.

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