commit | 93e14baa4494607efe81608725f591e3ba31e3c1 | [log] [tgz] |
---|---|---|
author | David Brownell <dbrownell@users.sourceforge.net> | Wed Jan 14 13:16:27 2009 -0800 |
committer | Liam Girdwood <lrg@slimlogic.co.uk> | Tue Mar 31 09:56:19 2009 +0100 |
tree | 2eeb231e2b63b77c7bfa5d5c6bd52d096f4e8f65 | |
parent | 15f7176eb1cccec0a332541285ee752b935c1c85 [diff] |
regulator: minor cleanup of virtual consumer Minor cleanup to the regulator set_mode sysfs support: switch to sysfs_streq() in set_mode(), which is also a code shrink. Use the same strings that get_mode() uses, shrinking data too. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>