media: atomisp: Remove res_overflow parameter from atomisp_try_fmt()
authorHans de Goede <hdegoede@redhat.com>
Sat, 6 May 2023 18:56:05 +0000 (19:56 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:26:04 +0000 (14:26 +0100)
commit649920afc4269fe3db74feadffb8f18dea057dc1
tree53e30c1e9f9b4cd3189b3c87b8ac9867d23d12c6
parent5c3213e9e2dd5dee0ba54a65a491ad4e43b615d0
media: atomisp: Remove res_overflow parameter from atomisp_try_fmt()

The only remaining caller of atomisp_try_fmt() always passes NULL
for the res_overflow parameter. Drop it and simplify atomisp_try_fmt().

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_cmd.h
drivers/staging/media/atomisp/pci/atomisp_ioctl.c