power: supply: Constify static struct attribute_group
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | power: supply: ltc4162-l: Constify static struct attribute_groupdrivers/ | +1 | 0 replies | |
| 2/2 | power: supply: core: Constify static struct attribute_groupdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] power: supply: Constify static struct attribute_group
Constify two static struct attribute_group. The only place they are used is to put their address in an array of pointers to const struct attribute_group. With these patches applied, all static attribute_group structs in drivers/power are const.
Rikard Falkeborn (2):
power: supply: ltc4162-l: Constify static struct attribute_group
power: supply: core: Constify static struct attribute_group
drivers/power/supply/ltc4162-l-charger.c | 2 +- drivers/power/supply/power_supply_sysfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.0