]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: rkisp1: change function to return void instead of int
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 7 Feb 2020 08:59:48 +0000 (09:59 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 16:41:42 +0000 (17:41 +0100)
commitb3d99480c3856a871421854b2357b148a84879db
tree88a5ad8f8e99a8b85360a775582daf6c720df5ac
parenta07b658e3ab1e0e24f6789341ba9860e919bddac
media: staging: rkisp1: change function to return void instead of int

There are functions that return int but actually return always 0.
Change them to return void and then there is no need to check
for error return value.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-isp.c