commit | 2bf9545626f8d09f552ab86d0047a415fe9a07a0 | [log] [tgz] |
---|---|---|
author | Wang Xiaojun <wangxiaojun11@huawei.com> | Wed Dec 02 20:46:47 2020 -0500 |
committer | Wolfram Sang <wsa@kernel.org> | Sat Dec 05 14:52:35 2020 +0100 |
tree | eb881f4c4b3d02dbc9c537308f562ee2bb4884b1 | |
parent | c62dac0a35bb6d351cd568e97090c5fd3e7aa532 [diff] |
i2c: mlxbf: Fix the return check of devm_ioremap and ioremap devm_ioremap and ioremap may return NULL which cannot be checked by IS_ERR. Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com> Reported-by: Hulk Robot <hulkci@huawei.com> Acked-by: Khalil Blaiech <kblaiech@nvidia.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>