]> www.infradead.org Git - nvme.git/commit
firmware: google: vpd: Use const 'struct bin_attribute' callback
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:49:12 +0000 (15:49 +0100)
committerTzung-Bi Shih <tzungbi@kernel.org>
Tue, 17 Dec 2024 03:59:31 +0000 (03:59 +0000)
commit7543d5702c2cfe0e8e8bc8bf4fe8cd44f08d6d39
tree314e84f5d7a052d8dd0150bcff6ab32e1b0bb4f2
parent093d752032f723da665cdaa6077ee62b3931e48b
firmware: google: vpd: Use const 'struct bin_attribute' callback

The sysfs core now provides callback variants that explicitly take a
const pointer. Use them so the non-const variants can be removed.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20241215-sysfs-const-bin_attr-google-v1-4-e5c2808f5833@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/firmware/google/vpd.c