diff options
| author | Marek BehĂșn <[email protected]> | 2023-08-02 16:07:43 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-08-18 09:18:35 +0000 |
| commit | 760b6b7925bf09491aafa4727eef74fc6bf738b0 (patch) | |
| tree | 17fad30db987c7a4d852a791d422f41061a1c122 /drivers/leds/trigger/ledtrig-netdev.c | |
| parent | leds: turris-omnia: Use sysfs_emit() instead of sprintf() (diff) | |
| download | kernel-760b6b7925bf09491aafa4727eef74fc6bf738b0.tar.gz kernel-760b6b7925bf09491aafa4727eef74fc6bf738b0.zip | |
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 <[email protected]>
Reviewed-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/leds/trigger/ledtrig-netdev.c')
0 files changed, 0 insertions, 0 deletions
