]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
leds: lp8860: Use a single regmap table
authorAndrew Davis <afd@ti.com>
Thu, 5 Mar 2026 20:37:02 +0000 (14:37 -0600)
committerLee Jones <lee@kernel.org>
Tue, 10 Mar 2026 09:23:05 +0000 (09:23 +0000)
commit4df6b6b3fbbc4056880efa4fe0a4686af91297ff
tree06e1fdeec8b71306702343ab0a936c02552120a8
parent7186d0330c3f3e86de577687a82f4ebd96dcb5ac
leds: lp8860: Use a single regmap table

Instead of a regmap table each for the normal registers and the EEPROM
registers, make one table and use an access table to prevent read/write
to/from the registers between the two ranges. Slightly simplifies the
code.

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