]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
leds: lp8860: Remove unused read of STATUS register
authorAndrew Davis <afd@ti.com>
Thu, 5 Mar 2026 20:37:05 +0000 (14:37 -0600)
committerLee Jones <lee@kernel.org>
Tue, 10 Mar 2026 09:23:12 +0000 (09:23 +0000)
commitca4b5ff8ab68663afb1316d41f9a2deb9f1dca2e
treed0b2dd1915a7a97d8ef42dbb8811f6b75e9b0b04
parent67a4a344f74cc8d3de9e0bc672143fbd1bcd1b6b
leds: lp8860: Remove unused read of STATUS register

This register is read but the contents are never checked, remove
the read until we add status checking. While here add an error
message should the preceding fault check fail.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://patch.msgid.link/20260305203706.841384-4-afd@ti.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-lp8860.c