On Sun, 05 May 2024 00:43:07 +0200, Christophe JAILLET wrote: > 'regmap_spi_config' and 'regmap_i2c_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 > 8896 1554 32 10482 28f2 drivers/rtc/rtc-rx6110.o > > [...] Applied, thanks! [1/1] rtc: rx6110: Constify struct regmap_config https://git.kernel.org/abelloni/c/6a216cbadbe0 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com