Wei Yongjun e61f9ea271 media: m88ds3103: fix return value check in m88ds3103_probe()
In case of error, the function i2c_new_dummy_device() returns
ERR_PTR() and never returns NULL. The NULL test in the return
value check should be replaced with IS_ERR().

Fixes: e6089feca460 ("media: m88ds3103: Add support for ds3103b demod")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-22 10:21:22 +01:00
..
2020-08-29 08:35:27 +02:00
2020-01-08 11:44:44 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:10 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-08-29 08:35:27 +02:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-09-07 16:13:06 +02:00
2020-11-16 10:31:10 +01:00
2020-11-16 10:31:10 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00
2020-11-16 10:31:16 +01:00