diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-02-02 16:54:39 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-09 23:23:44 +0100 |
commit | da862c3df6add928e2f51d6cadec128a9a1940f3 (patch) | |
tree | 91ed03925df79e47e33f68346db111492d81041a /drivers/clk/clk-asm9260.c | |
parent | 35d9c472925748a1cb1f5b6cc8ae71cf8138e30f (diff) |
rtc: pm8xxx: refactor read_time()
In preparation for adding support for setting the time by means of an
externally stored offset, refactor read_time() by adding a new helper
that can be used to retrieve the raw time as stored in the RTC.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230202155448.6715-14-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/clk/clk-asm9260.c')
0 files changed, 0 insertions, 0 deletions