From 43c638e3dd48ff1b1a93ea01c98e258e693880c3 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 26 Sep 2013 11:19:37 +0200
Subject: [PATCH] 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
Signed-off-by: Rafael J. Wysocki
---
Reading git-format-patch failed