Files
linux/drivers/i2c/i2c-slave-eeprom.c
Thomas Weißschuh 7fd9d28d1a i2c: slave-eeprom: 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>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2025-01-09 10:48:44 +01:00

6.3 KiB