On Mon, 28 May 2018 15:37:44 +0800 Coly Li <colyli@xxxxxxx> wrote: > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Kernel library has a common function to match user input from sysfs > against an array of strings. Thus, replace bch_read_string_list() by > __sysfs_match_string(). > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Signed-off-by: Coly Li <colyli@xxxxxxx> > --- > drivers/md/bcache/sysfs.c | 44 > ++++++++------------------------------- 1 file changed, 9 > insertions(+), 35 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes