Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: axp288_fuel_gauge: Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Sebastian Reichel
f1f27a4a 2219a935

+1 -1
+1 -1
drivers/power/axp288_fuel_gauge.c
··· 1117 1117 return ret; 1118 1118 } 1119 1119 1120 - static struct platform_device_id axp288_fg_id_table[] = { 1120 + static const struct platform_device_id axp288_fg_id_table[] = { 1121 1121 { .name = DEV_NAME }, 1122 1122 {}, 1123 1123 };