leds: mt6370: Remove unused field 'reg_cfgs' from 'struct mt6370_priv'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 28 Apr 2024 18:27:31 +0000 (20:27 +0200)
committerLee Jones <lee@kernel.org>
Thu, 2 May 2024 17:12:27 +0000 (18:12 +0100)
commitf2994f5341e03b8680a88abc5f1dee950033c3a9
treedaf8106e5a80727e4c9e02f4c68935d725d643ec
parentdd66d058565a705980e6d55bd6592958531221b9
leds: mt6370: Remove unused field 'reg_cfgs' from 'struct mt6370_priv'

In 'struct mt6370_priv', the 'reg_cfgs' field is unused. Moreover
'struct reg_cfg' isn't defined anywhere, so remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/e389be5e1012dc05fc2641123883ca3b0747525a.1714328839.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/rgb/leds-mt6370-rgb.c