]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: google: memconsole: Use const 'struct bin_attribute' callback
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:49:11 +0000 (15:49 +0100)
committerTzung-Bi Shih <tzungbi@kernel.org>
Tue, 17 Dec 2024 03:59:31 +0000 (03:59 +0000)
commit093d752032f723da665cdaa6077ee62b3931e48b
tree63567f035252e78039a453c124cd30a666db1101
parent7da14dea76fb6a90f62938e6dfa9f34c980af358
firmware: google: memconsole: 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-3-e5c2808f5833@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/firmware/google/memconsole.c