]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: cpufreq-cpu0: Use devm_regulator_get_optional()
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 18:07:12 +0000 (19:07 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 13 Aug 2013 16:07:44 +0000 (17:07 +0100)
commit3dda1809df2feb713bac6b851b820a4ba73c5511
tree59e23cccaf8e2abfddb15a949a355e68b3e07ded
parent6cb8132aef66633b73f7bee156a3509b542b8cd9
cpufreq: cpufreq-cpu0: Use devm_regulator_get_optional()

Since the cpufreq-cpu0 driver is capable of coping without a software
controllable regulator and would be confused by a dummy one it should
use devm_regulator_get_optional() to ensure no dummy is provided.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/cpufreq/cpufreq-cpu0.c