diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-18 16:23:29 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-07-06 16:58:02 +0200 |
commit | 8b0d62d49aea991016d1a2e072e6af0a813b4a2d (patch) | |
tree | 12ba54a74fd8882bf5961fe316d8b532a133fb2c /MAINTAINERS | |
parent | power: reset: qcom-pon: Add Qcom PON driver (diff) | |
download | linux-8b0d62d49aea991016d1a2e072e6af0a813b4a2d.tar.xz linux-8b0d62d49aea991016d1a2e072e6af0a813b4a2d.zip |
power: supply: ab8500: stop using getnstimeofday64()
getnstimeofday64() is deprecated in favor of the ktime_get() family.
The direct replacement would be ktime_get_real_ts64(), but we only need
the seconds value, and it seems better to use boottime than real time
to avoid unexpected behavior with a concurrent settimeofday().
ktime_get_seconds() might also work, but it seems better to use
boottime than monotonic time since I assume that the charging
process continues during suspend.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions