Skip to content
Commit 2bf95456 authored by Wang Xiaojun's avatar Wang Xiaojun Committed by Wolfram Sang
Browse files

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: default avatarWang Xiaojun <wangxiaojun11@huawei.com>
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarKhalil Blaiech <kblaiech@nvidia.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent c62dac0a
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