diff options
| author | Aditya Garg <[email protected]> | 2025-06-30 12:37:14 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2025-07-03 07:41:56 +0000 |
| commit | 6907c976fff38710406fa148cd82e892e7292d56 (patch) | |
| tree | c76848bf4e167bb7852f0b646d78353a1c4746db /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | HID: magicmouse: avoid setting up battery timer when not needed (diff) | |
| download | kernel-6907c976fff38710406fa148cd82e892e7292d56.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
