On Wed, 02 Aug 2023, Marek Behún wrote: > Do not lock driver mutex in the global LED panel brightness sysfs > accessors brightness_show() and brightness_store(). > > The mutex locking is unnecessary here. The I2C transfers are guarded by > I2C core locking mechanism, and the LED commands itself do not interfere > with other commands. > > Fixes: 089381b27abe ("leds: initial support for Turris Omnia LEDs") > Signed-off-by: Marek Behún <kabel@xxxxxxxxxx> > --- > drivers/leds/leds-turris-omnia.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) Reviewed-by: Lee Jones <lee@xxxxxxxxxx> -- Lee Jones [李琼斯]