diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-02-02 18:54:39 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-02-10 01:23:44 +0300 |
commit | da862c3df6add928e2f51d6cadec128a9a1940f3 (patch) | |
tree | 91ed03925df79e47e33f68346db111492d81041a /tools/perf/scripts/python/stackcollapse.py | |
parent | 35d9c472925748a1cb1f5b6cc8ae71cf8138e30f (diff) | |
download | linux-da862c3df6add928e2f51d6cadec128a9a1940f3.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions