pwm: brcmstb: Remove useless locking
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 14 Feb 2022 08:23:54 +0000 (09:23 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 24 Feb 2022 13:46:24 +0000 (14:46 +0100)
commit0d6bc3e18e6faf4a19e4b446857cec1d9f264c37
treeb80871fec6e06e715a043c7c960566df63e5b67e
parent0dcfafe7d44d07de54a350bf138d921a00204dd4
pwm: brcmstb: Remove useless locking

The lock only protects against concurrent users of the PWM API. This is not
expected to be necessary. And if there was such an issue, this is better
handled in the PWM core instead as it affects all drivers in the same way.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-brcmstb.c