power: supply: bq25980_charger: Constify reg_default array
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 28 May 2025 19:44:41 +0000 (21:44 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 22 Jun 2025 17:21:11 +0000 (19:21 +0200)
commit7cf88213b95e9491572c4af39c7ba2829f9b2637
treec0509fe7431be62955fc73e44646da63fb6c7410
parent188014b4256fd7b625c79a45d61209da5ca4c92c
power: supply: bq25980_charger: Constify reg_default array

Static 'struct reg_default' array is not modified so can be changed to
const for more safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250528194439.567263-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25980_charger.c