commit | 43c638e3dd48ff1b1a93ea01c98e258e693880c3 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Thu Sep 26 11:19:37 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Sep 30 20:08:59 2013 +0200 |
tree | 31188c7c97a6dd36e084877e72fbcdd9224a8cd7 | |
parent | bb25f13aed6c76df3c0004789485b7c4919ce47a [diff] |
cpufreq: cpufreq-cpu0: NULL is a valid regulator, part 2 Since the patch "cpufreq: cpufreq-cpu0: NULL is a valid regulator", cpu_reg contains an error value if the regulator is not set, instead of NULL. Accordingly, fix the remaining check for non-NULL cpu_reg. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>