Skip to content
Commit d93d45ab authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

media: allegro: Fix some NULL vs IS_ERR() checks in probe



The devm_ioremap() function doesn't return error pointers, it returns
NULL on error.

Fixes: f20387df ("media: allegro: add Allegro DVT video IP core driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b820935b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment