diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-13 14:58:24 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-14 22:24:22 +0200 |
commit | 4a511de96d692f2dfa126c10dda4e41636c0ef27 (patch) | |
tree | 20ddaa54c87e088d2eadc3600ea4ebd5bbe7383b /drivers/cpufreq/pxa3xx-cpufreq.c | |
parent | acpi-cpufreq: Use cpufreq_freq_attr_rw to define the cpb attribute (diff) | |
download | linux-4a511de96d692f2dfa126c10dda4e41636c0ef27.tar.xz linux-4a511de96d692f2dfa126c10dda4e41636c0ef27.zip |
cpufreq: cpufreq-cpu0: NULL is a valid regulator
Since NULL could in theory be a valid regulator we ought to check for
IS_ERR() rather than for NULL. In practice this is unlikely to be an
issue but it's better for neatness.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/pxa3xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions