Wei Yongjun b03e119fff ARM: mvebu: fix return value check in armada_xp_pmsu_cpufreq_init()
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Link: https://lkml.kernel.org/r/1406038688-26417-1-git-send-email-weiyj_lk@163.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-07-23 12:31:13 +00:00
..
2014-07-13 22:13:39 +00:00
2014-06-11 14:06:55 -07:00
2014-06-11 14:06:55 -07:00
2014-07-13 22:13:39 +00:00
2014-06-01 22:16:58 -07:00
2014-06-02 16:14:07 -07:00
2014-06-11 14:06:55 -07:00
2014-07-13 22:13:39 +00:00
2014-07-13 22:13:39 +00:00