From: Mark Brown Date: Tue, 13 Aug 2013 12:58:24 +0000 (+0200) Subject: cpufreq: cpufreq-cpu0: NULL is a valid regulator X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a511de96d692f2dfa126c10dda4e41636c0ef27;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed