mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Replace sprintf() with sysfs_emit() in sysfs attribute show functions. sysfs_emit() is the preferred API for sysfs callbacks as it is aware of the PAGE_SIZE buffer limit. Also simplify the wavetype_available show functions by removing the intermediate string variable and returning directly from each branch. Signed-off-by: Gabriel Rondon <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>