aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm-ccn.c
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2025-02-05 10:46:05 +0000
committerThomas Gleixner <[email protected]>2025-02-18 10:19:04 +0000
commit1b73fd14cfb47710e99f2119ec19c770e5881928 (patch)
tree2fd3fadf2e7e43567259ffcc72c94000db40553a /drivers/perf/arm-ccn.c
parentpowercap: Switch to use hrtimer_setup() (diff)
downloadkernel-1b73fd14cfb47710e99f2119ec19c770e5881928.tar.gz
kernel-1b73fd14cfb47710e99f2119ec19c770e5881928.zip
power: supply: ab8500_chargalg: Switch to use hrtimer_setup()
hrtimer_setup() takes the callback function pointer as argument and initializes the timer completely. Replace hrtimer_init() and the open coded initialization of hrtimer::function with the new setup mechanism. Patch was created by using Coccinelle. Signed-off-by: Nam Cao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Zack Rusin <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/all/fa0bf7376ce8f124c8285a52d9f55d0ab4c42988.1738746904.git.namcao@linutronix.de
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions