commit | 5f4768225cee9d9dae723f21b689e98cf3a82c76 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Mar 17 14:22:26 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Mar 17 15:09:34 2016 -0700 |
tree | dfb49ed814313572cd01bd90bb86b2c917265070 | |
parent | 7a5cf52dbbd67979ce9805311492e606abee0f6a [diff] |
power: charger_manager: convert to use match_string() helper The new helper returns index of the mathing string in an array. We would use it here. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Sebastian Reichel <sre@kernel.org> Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>