st: convert DRIVER_ATTR macros to DRIVER_ATTR_RO
Convert DRIVER_ATTR macros to DRIVER_ATTR_RO requested by
Greg KH. Also switched to using scnprintf instead of snprintf
per Documentation/filesystems/sysfs.txt.
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Shane Seymour <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Kai Mäkisara <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
1 file changed