hwmon: (gsc-hwmon) constify read-only struct regmap_bus
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 5 Jul 2024 18:27:28 +0000 (20:27 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 5 Jul 2024 21:37:01 +0000 (14:37 -0700)
commit0811b8b03bb30b82c84283dde1ff697bc192abc0
tree4a9383ad65c95dd6c55aecebe7ab126ec680281d
parent99bf7c2eccff82760fa23ce967cc67c8c219c6a6
hwmon: (gsc-hwmon) constify read-only struct regmap_bus

`gsc_hwmon_regmap_bus` 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/20240705-hwmon-const-regmap-v1-1-7cde543ba818@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gsc-hwmon.c