mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Most users use this function through the BIN_ATTR_SIMPLE* macros, they can handle the switch transparently. Also adapt the two non-macro users in the same change. Signed-off-by: Thomas Weißschuh <[email protected]> Acked-by: Madhavan Srinivasan <[email protected]> Reviewed-by: Mahesh Salgaonkar <[email protected]> Tested-by: Aditya Gupta <[email protected]> Link: https://lore.kernel.org/r/20241228-sysfs-const-bin_attr-simple-v2-1-7c6f3f1767a3@weissschuh.net Signed-off-by: Greg Kroah-Hartman <[email protected]>