misc: apds990x: Use sysfs_match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 11 Jun 2017 14:52:20 +0000 (17:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 14:03:22 +0000 (16:03 +0200)
commitcbbdc6082917a92da0fc07cee255111de16ed64a
tree328f4046a299002f3ac5cb98747c0653ea9a4677
parentc845736dbcd26619acc136b588bcd2f48b1fda45
misc: apds990x: Use sysfs_match_string() helper

Use sysfs_match_string() helper instead of open coded variant.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/apds990x.c