linux/drivers/power
Thomas Weißschuh dc509d8be3 power: supply: olpc_battery: constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-psy-v1-4-f846430b8b66@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
History 2024-12-04 22:19:13 +01:00
..
reset power: reset: ep93xx: add AUXILIARY_BUS dependency 2024-11-12 00:07:00 +01:00
sequencing power: sequencing: qcom-wcn: improve support for wcn6855 2024-10-25 09:59:30 +02:00
supply power: supply: olpc_battery: constify 'struct bin_attribute' 2024-12-04 22:19:13 +01:00
Kconfig power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00
Makefile power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00