virtio_blk: Use sysfs_match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 9 Jun 2017 12:07:42 +0000 (15:07 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Jul 2017 13:37:34 +0000 (16:37 +0300)
commitf53d5aa050dafe19bb4a1e37d73880aee2490a68
tree3ddc3d6babe1d30029d4fde4f50e225363d2222c
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
virtio_blk: Use sysfs_match_string() helper

Use sysfs_match_string() helper instead of open coded variant.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
drivers/block/virtio_blk.c