[PATCH 0/4] pwm: Some refactoring of pwmchip_add()

From: Uwe Kleine-König
Date: Tue Nov 15 2022 - 16:15:45 EST


Hello,

this is inspired by a patch suggested by Andy Shevchenko[1] and so it
conflicts with his patch.

Best regards
Uwe

[1] https://lore.kernel.org/linux-pwm/20221114170006.61751-1-andriy.shevchenko@xxxxxxxxxxxxxxx

Uwe Kleine-König (4):
pwm: Document variables protected by pwm_lock
pwm: Reduce time the pwm_lock mutex is held in pwmchip_add()
pwm: Mark free pwm IDs as used in alloc_pwms()
pwm: Don't initialize list head before calling list_add()

drivers/pwm/core.c | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)


base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780
--
2.38.1