power: supply: ltc4162-l: Constify static struct attribute_group
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 13 Jan 2021 20:32:42 +0000 (21:32 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 Jan 2021 21:11:43 +0000 (22:11 +0100)
commit249aacc6a30f8e957394a2781a8a40150ecbc04f
tree182e43254f5d765130c51a8ae6a281bfef70793e
parentcd900f181ad6b548a8feded5dd224f789f09b1c6
power: supply: ltc4162-l: Constify static struct attribute_group

The only usage of it is to put its address in an array of pointers to
const static structs. Make it const to allow the compiler to put it in
read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ltc4162-l-charger.c