]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: unify ia_css_isp_params.c
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 5 Nov 2021 11:17:05 +0000 (11:17 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:50 +0000 (08:11 +0000)
commit0ff21cc566c6259a30b4238a7c5ceefce117d9ce
treea4f4b53b4d5e9af9007df3fbf7e7113bd41973b3
parentbd106f98ae5c6a72c07f6636af856a7739abccf9
media: atomisp: unify ia_css_isp_params.c

The contents of ia_css_isp_params.c is almost identical for
2400 and 2401. The only difference is that, on 2400, there
are some duplicated assignments. So, drop it, unifying this
file.

While here, simplify the Makefile's logic by dropping an
unused define.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Makefile
drivers/staging/media/atomisp/pci/css_2400_system/hive/ia_css_isp_params.c [deleted file]
drivers/staging/media/atomisp/pci/css_2401_system/hive/ia_css_isp_params.c [deleted file]
drivers/staging/media/atomisp/pci/ia_css_isp_params.c [new file with mode: 0644]