commit | fbe359f12ce40e3126bea959b135656e4a305897 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Jul 06 12:21:47 2016 +0000 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Mon Aug 08 19:27:33 2016 +0200 |
tree | d8ca1351307dbc06e2c1f9cf2ebcb8ac3097f3ea | |
parent | 7e196aa1a011da35a04cb1f161e186563aa8d8db [diff] |
clk: sunxi: Fix return value check in sun8i_a23_mbus_setup() In case of error, the function of_io_request_and_map() 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> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>