diff options
| author | Thorsten Blum <[email protected]> | 2025-04-07 08:29:30 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2025-04-24 10:20:10 +0000 |
| commit | 663704db954796c6905c5c34321eb6dba1559404 (patch) | |
| tree | 932de764b5c9f130ae5957a7655090cbf9dbce9a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | Merge tag 'hid-for-linus-2025032601' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-663704db954796c6905c5c34321eb6dba1559404.tar.gz kernel-663704db954796c6905c5c34321eb6dba1559404.zip | |
HID: appletb-kbd: Use secs_to_jiffies() instead of msecs_to_jiffies()
Use secs_to_jiffies() instead of msecs_to_jiffies() and avoid scaling
the module params 'appletb_tb_idle_timeout' and 'appletb_tb_dim_timeout'
to milliseconds. secs_to_jiffies() expands to simpler code and reduces
the size of 'hid-appletb-kbd.ko'.
Reformat the code to silence multiple checkpatch warnings.
No functional changes intended.
Signed-off-by: Thorsten Blum <[email protected]>
Reviewed-by: Aditya Garg <[email protected]>
Tested-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
