diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-06 14:55:36 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-11-08 14:33:05 +0200 |
commit | 3c92d5517af8eeab81da3aee4fc14faa198bbb8b (patch) | |
tree | dcd88b66e407eed762fb70148c49662561c63c35 /drivers/net/wireless/intel/iwlegacy/4965-rs.c | |
parent | 3f2a162fab15aee243178b5308bb5d1206fc4043 (diff) |
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 'drivers/net/wireless/intel/iwlegacy/4965-rs.c')
0 files changed, 0 insertions, 0 deletions