zram: use __sysfs_match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Jul 2017 22:48:34 +0000 (15:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:31 +0000 (16:32 -0700)
commited8a555323a6fddadfd9e259fc4e9c41c191ca6c
tree1e68d980c9b3115a5f75e2f7d9f2b98918b54371
parentf4e177d12686bf98b5a047b5187121a71ee0dd8c
zram: use __sysfs_match_string() helper

Use __sysfs_match_string() helper instead of open coded variant.

Link: http://lkml.kernel.org/r/20170609120835.22156-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/zram/zcomp.c