commit | 5024a2b7ae9a92b8ec97ac1507efb283778480ce | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Aug 26 12:23:52 2014 +0200 |
committer | Benjamin Gaignard <benjamin.gaignard@linaro.org> | Tue Aug 26 14:16:46 2014 +0200 |
tree | f48b395cbe30973e5790575f567681692bd2a02b | |
parent | 88cfc3fb77d2a280f935dc482bdd781b96ff5570 [diff] |
drm: sti: hda: fix return value check in sti_hda_probe() In case of error, the function devm_ioremap_nocache() 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>