leds: lp50xx: Remove unused field 'num_of_banked_leds' from 'struct lp50xx'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 28 Apr 2024 17:15:25 +0000 (19:15 +0200)
committerLee Jones <lee@kernel.org>
Thu, 2 May 2024 17:10:56 +0000 (18:10 +0100)
commitdd66d058565a705980e6d55bd6592958531221b9
tree2eb570564387792fbd22a5922193dbdfa0e23186
parent221db0183bebbee146922b5816419bdc9b5425ff
leds: lp50xx: Remove unused field 'num_of_banked_leds' from 'struct lp50xx'

In 'struct lp50xx', the 'num_of_banked_leds' field is only written and
is never used. Moreover, storing such an information in the 'priv'
structure looks pointless, so remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/a0d472ff587d13a2b91ec32c8776061019caab6a.1714324500.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-lp50xx.c