On Mon, 28 May 2018 15:37:44 +0800
Coly Li <[email protected]> wrote:

> From: Andy Shevchenko <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Coly Li <[email protected]>
> ---
>  drivers/md/bcache/sysfs.c | 44
> ++++++++------------------------------- 1 file changed, 9
> insertions(+), 35 deletions(-)
> 

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes

Reply via email to