commit | 9d442061da08e679ec8e7c004fd0450e799a2af7 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Mar 21 20:04:44 2012 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Apr 01 11:59:26 2012 +0100 |
tree | 1128b231a84a87efc377bc00ff5899b5e63078a3 | |
parent | c45bb35f8b76439f4b6c0efaca510f871e9b1840 [diff] |
regulator: fixed: Don't supply voltage change ops when no GPIO is given Rather than replicating the core support for always on regulators use a different set of ops with none of the enable related operations provided when we don't have any ops. This ensures that we automatically pick up any enhanced support for such regulators that the core has such as the warnings about regulation constraints that can't be used. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>