diff options
author | Aditya Garg <gargaditya08@live.com> | 2025-06-30 12:37:14 +0000 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-07-03 09:41:57 +0200 |
commit | 230cdd8a5f4bc7ebe8cadb6f532911544af6fb3c (patch) | |
tree | d07f494985a5fa37419feea9aa62b776fde8a67a /tools/perf/scripts/python | |
parent | 6907c976fff38710406fa148cd82e892e7292d56 (diff) |
HID: magicmouse: 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