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 /fs | |
parent | e6a578e2890dcedf1b5722d5bead9cad2e0d9195 (diff) | |
download | blackbird-op-linux-8b0d62d49aea991016d1a2e072e6af0a813b4a2d.tar.gz blackbird-op-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 'fs')
0 files changed, 0 insertions, 0 deletions