Skip to content
Commit 43c638e3 authored by Philipp Zabel's avatar Philipp Zabel Committed by Rafael J. Wysocki
Browse files

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent bb25f13a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment