cpufreq: unicore32: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 11 Apr 2014 07:59:38 +0000 (15:59 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Apr 2014 21:42:27 +0000 (23:42 +0200)
commit8ab4e2b30a0921d819b196d34ce58f19c3e0270b
tree697170fdc3a4409a72b281648aca2d64746b9747
parenta798c10faf62a505d24e5f6213fbaf904a39623f
cpufreq: unicore32: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

This patch fixes coccinelle error regarding usage of IS_ERR and
PTR_ERR instead of PTR_ERR_OR_ZERO.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/unicore2-cpufreq.c