diff options
author | Marek BehĂșn <kabel@kernel.org> | 2023-08-02 19:07:43 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-08-18 12:18:35 +0300 |
commit | 760b6b7925bf09491aafa4727eef74fc6bf738b0 (patch) | |
tree | 17fad30db987c7a4d852a791d422f41061a1c122 /samples/pfsm | |
parent | 72a29725b6f2577fa447ca9059cdcd17100043b4 (diff) | |
download | linux-760b6b7925bf09491aafa4727eef74fc6bf738b0.tar.xz |
leds: turris-omnia: Drop unnecessary mutex locking
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@kernel.org>
Reviewed-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230802160748.11208-2-kabel@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'samples/pfsm')
0 files changed, 0 insertions, 0 deletions