debugfs: Re-use kstrtobool_from_user()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 3 May 2018 16:17:52 +0000 (19:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 14:48:18 +0000 (16:48 +0200)
commit964f8363a1aba6cb4198bfaaac538b08f1c538f1
treef0094366ed90d68f80f0e6762d6e81b674d1ecec
parentf0a462970ee19930518b03798a21cfdb3fd35877
debugfs: Re-use kstrtobool_from_user()

Re-use kstrtobool_from_user() instead of open coded variant.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c