diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2017-05-25 16:34:30 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 22:00:58 +0300 |
commit | 4c11712ad0e1aa38154854a2a3efb1f4a90a059d (patch) | |
tree | f02a91f0e695252105aee1a3441657749fcb0d1f /drivers/vme/bridges | |
parent | 6934be4f016311cf88c316dad5c75e4ccf8a7fc0 (diff) | |
download | linux-4c11712ad0e1aa38154854a2a3efb1f4a90a059d.tar.xz |
scsi: sd: Use sysfs_match_string()
Avoid unnecessary snprintf() when formatting variables for display in
sysfs and switch to sysfs_match_string() for validating user input.
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/vme/bridges')
0 files changed, 0 insertions, 0 deletions