Skip to content
Commit 384e83db authored by Ruan Jinjie's avatar Ruan Jinjie Committed by Mauro Carvalho Chehab
Browse files

media: camif-core: Do not check for 0 return after calling platform_get_irq()



It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().

Signed-off-by: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 92d74870
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