power: supply: twl4030_charger: Use sysfs_match_string() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 11 Jun 2017 15:15:48 +0000 (18:15 +0300)
committerSebastian Reichel <sre@kernel.org>
Sun, 11 Jun 2017 23:40:05 +0000 (01:40 +0200)
commit37853952b9e4234ab6e085231cf5b6d232c40d0a
tree73a422752eee64ed5d115c6aa88cbcdf0a189d80
parent153e9e90ff89a2ec04276968b6769de7b00d86f6
power: supply: twl4030_charger: Use sysfs_match_string() helper

Use sysfs_match_string() helper instead of open coded variant.

Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/twl4030_charger.c