Re: (subset) [PATCH] leds: is31fl319x: Constify struct regmap_config

From: Lee Jones
Date: Fri May 31 2024 - 06:07:07 EST


On Sun, 05 May 2024 09:03:32 +0200, Christophe JAILLET wrote:
> 'is31fl3190_regmap_config' and 'is31fl3196_regmap_config' are not modified
> in this diver and are only used as a const struct regmap_config.
>
> Constifying these structures moves some data to a read-only section, so
> increase overall security.
>
> On a x86_64, with allmodconfig:
> Before:
> text data bss dec hex filename
> 13827 2002 32 15861 3df5 drivers/leds/leds-is31fl319x.o
>
> [...]

Applied, thanks!

[1/1] leds: is31fl319x: Constify struct regmap_config
commit: eccf45fdbfcbc9890a02d53c0a6c45271c37969e

--
Lee Jones [李琼斯]