Skip to content
Commit c27f2de7 authored by Wei Yongjun's avatar Wei Yongjun Committed by Tony Lindgren
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 7b0d0cce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment