diff options
author | 2017-11-06 14:55:36 +0100 | |
---|---|---|
committer | 2017-11-08 14:33:05 +0200 | |
commit | 3c92d5517af8eeab81da3aee4fc14faa198bbb8b (patch) | |
tree | dcd88b66e407eed762fb70148c49662561c63c35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtlwifi: fix uninitialized rtlhal->last_suspend_sec time (diff) | |
download | linux-dev-3c92d5517af8eeab81da3aee4fc14faa198bbb8b.tar.xz linux-dev-3c92d5517af8eeab81da3aee4fc14faa198bbb8b.zip |
rtlwifi: use ktime_get_real_seconds() for suspend time
do_gettimeofday() is deprecated and slower than necessary for the purpose
of reading the seconds. This changes rtl_op_suspend/resume to use
ktime_get_real_seconds() instead, which is simpler and avoids confusion
about whether it is y2038-safe or not.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions