]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (ina238) Constify struct regmap_config
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 2 Jul 2024 10:09:30 +0000 (12:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jul 2024 18:30:10 +0000 (11:30 -0700)
commit9d047eb05c079f35584d047cfbc8c9434d128d00
treeb35cbbe4a151e766e3f3645076a10f8df1c03681
parent39b24cced70fdc336dbc0070f8b3bde61d8513a8
hwmon: (ina238) Constify struct regmap_config

`ina238_regmap_config` is not modified and can be declared as const to
move its data to a read-only section.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240702-hwmon-const-regmap-v1-1-63f6d4765fe0@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina238.c