diff options
author | 2025-06-30 12:37:14 +0000 | |
---|---|---|
committer | 2025-07-03 09:41:56 +0200 | |
commit | 6907c976fff38710406fa148cd82e892e7292d56 (patch) | |
tree | c76848bf4e167bb7852f0b646d78353a1c4746db /tools/perf/scripts/python | |
parent | HID: magicmouse: avoid setting up battery timer when not needed (diff) | |
download | wireguard-linux-6907c976fff38710406fa148cd82e892e7292d56.tar.xz wireguard-linux-6907c976fff38710406fa148cd82e892e7292d56.zip |
HID: apple: use secs_to_jiffies() for battery timeout
The kernel now has a secs_to_jiffies() function which expands to a simpler
code than msecs_to_jiffies(). Use the same for battery timeout which was
using 60000 milliseconds (60 seconds).
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions