]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: solo6x10: Use const 'struct bin_attribute' callback
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 15 Dec 2024 14:21:45 +0000 (15:21 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 7 Jan 2025 11:21:41 +0000 (12:21 +0100)
commit45ef22b6b58c347e72c0658132f7885a653f45e6
treebdc0b69effcdcd88e130c86ed7dc1e98528f9547
parentdb6efc57b086f5748405a9d1230f359cbac36e1d
media: solo6x10: 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>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/pci/solo6x10/solo6x10-core.c