media: atomisp: Remove input_port_ID_t
authorHans de Goede <hdegoede@redhat.com>
Fri, 12 Apr 2024 18:38:55 +0000 (19:38 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 09:57:06 +0000 (10:57 +0100)
commitca9ff7227931811fa13f197d6748a211419acd16
tree7c2716cdf7482da9ab695ce78557e2f120683385
parenta0821ca14bb808800e444e01f074e32dc4c0d161
media: atomisp: Remove input_port_ID_t

Change the single, unexpected user of CSI_PORT0_ID

for (port = CSI_PORT0_ID; port < N_CSI_PORTS; port++)

to

for (port = 0; port < N_CSI_PORTS; port++) {

matching all the other for-loops iterating over the ports in
the same file.

And remove the now fully unused input_port_ID_t enum type.

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