commit | c27f2de754a1412ce4a6c4af723605f776ec4ac2 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Oct 30 13:23:21 2013 +0800 |
committer | Tony Lindgren <tony@atomide.com> | Fri Nov 15 07:38:14 2013 -0800 |
tree | 309e2787b6a81a2f2c52b0818059661f79595d52 | |
parent | 7b0d0cce3b441597d3a66a8951c2f3e70071c6cc [diff] |
ARM: OMAP3: Beagle: fix return value check in beagle_opp_init() In case of error, the function get_cpu_device() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Tony Lindgren <tony@atomide.com>