]> git.baikalelectronics.ru Git - kernel.git/commit
st: convert DRIVER_ATTR macros to DRIVER_ATTR_RO
authorSeymour, Shane M <shane.seymour@hp.com>
Wed, 24 Jun 2015 06:54:35 +0000 (06:54 +0000)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 12 Aug 2015 22:54:24 +0000 (15:54 -0700)
commit2b6125314141f79652c75393cfdeabfa1288435e
treecdb599849c067fd405c803c02cdc08fd392f1c40
parent39be78349e865450e99b7d8a6fe05364b709b7ca
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 <gregkh@linuxfoundation.org>
Signed-off-by: Shane Seymour <shane.seymour@hp.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/st.c