media: atomisp: Remove atomisp_source_pad_to_stream_id()
authorHans de Goede <hdegoede@redhat.com>
Fri, 9 Sep 2022 21:46:39 +0000 (23:46 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 08:14:39 +0000 (10:14 +0200)
commit1e32f6ea43c44c256a3b63f60223d30d46f9d4b1
treeceee2903b9b65b0bd242f251391db4e4fbc5561a
parentcf2e0516f040fd576b35436b316c0923c45fb468
media: atomisp: Remove atomisp_source_pad_to_stream_id()

atomisp_source_pad_to_stream_id() returns ATOMISP_INPUT_STREAM_GENERAL
unconditionally now. Drop it and directly use ATOMISP_INPUT_STREAM_GENERAL
in its callers.

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_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
drivers/staging/media/atomisp/pci/atomisp_subdev.c