[PATCH] ARM: s3c/rx1950: Use pwm_get() in favour of pwm_request()

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Thu Apr 1 18:41:04 BST 2021


On Fri, 26 Mar 2021 10:06:41 +0100, Uwe Kleine-König wrote:
> pwm_request() is deprecated because (among others) it depends on a global
> numbering of PWM devices. So register a pwm_lookup to pick the right PWM
> device (identified by provider and its local id) and use pwm_get().
> 
> Before this patch the PWM #1 was used. This is provided by the
> samsung-pwm device which is the only PWM provider on this machine. The
> local offset is 1, see also commit c107fe904a10 ("ARM: S3C24XX: Use PWM
> lookup table for mach-rx1950") with a similar conversion for PWM #0.
> 
> [...]

Applied, thanks!

[1/1] ARM: s3c/rx1950: Use pwm_get() in favour of pwm_request()
      commit: 19f5027e0394d2f3e1766200b6bbde660f0b7848

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>



More information about the linux-arm-kernel mailing list