diff options
| author | Nam Cao <[email protected]> | 2025-02-05 10:46:05 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-02-18 10:19:04 +0000 |
| commit | 1b73fd14cfb47710e99f2119ec19c770e5881928 (patch) | |
| tree | 2fd3fadf2e7e43567259ffcc72c94000db40553a /drivers/perf/arm-ccn.c | |
| parent | powercap: Switch to use hrtimer_setup() (diff) | |
| download | kernel-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
