aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-common.c
diff options
context:
space:
mode:
authorAditya Garg <[email protected]>2025-06-30 12:37:14 +0000
committerJiri Kosina <[email protected]>2025-07-03 07:41:56 +0000
commit6907c976fff38710406fa148cd82e892e7292d56 (patch)
treec76848bf4e167bb7852f0b646d78353a1c4746db /drivers/pci/controller/dwc/pcie-qcom-common.c
parentHID: magicmouse: avoid setting up battery timer when not needed (diff)
downloadkernel-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/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions