Skip to content
Snippets Groups Projects
Commit e320a240 authored by Nam Cao's avatar Nam Cao Committed by Uwe Kleine-König
Browse files

pwm: gpio: 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.

Acked-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Signed-off-by: default avatarNam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/7b7115da84372a49e36a0ac1a5ce553129c3ce0b.1738746904.git.namcao@linutronix.de


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent c98e6614
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment