bcache: use sysfs_match_string() instead of __sysfs_match_string()
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 28 Jun 2019 11:59:32 +0000 (19:59 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2019 13:39:14 +0000 (07:39 -0600)
commit89e0341af082dbc170019f908846f4a424efc86b
tree4f829f5f4aba4da6c1e974d6c78c6bb522c113d7
parentf960facb399ece6ff88a7a2d4b4a5515e3a467a0
bcache: use sysfs_match_string() instead of __sysfs_match_string()

The arrays (of strings) that are passed to __sysfs_match_string() are
static, so use sysfs_match_string() which does an implicit ARRAY_SIZE()
over these arrays.

Functionally, this doesn't change anything.
The change is more cosmetic.

It only shrinks the static arrays by 1 byte each.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/sysfs.c