media: atomisp: get rid of an iomem abstraction layer
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 1 Jun 2020 08:50:35 +0000 (10:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:15:51 +0000 (19:15 +0200)
commit69a03e36c7116ce575f7dd438f895e499aa6e790
tree589feae4417b9ffe6ff700b981dce9abf4e95b4e
parent662fb4fceb1a30c027774f8fc83c96198254af32
media: atomisp: get rid of an iomem abstraction layer

The hive_isp_css_custom_host_hrt.h code, together
with atomisp_helper.h, provides an abstraction layer for
some functions inside atomisp_compat_css20.c and atomisp_cmd.c.

There's no good reason for that. In a matter of fact, after
removing the abstraction, the code looked a lot cleaner
and easier to understand.

So, get rid of them.

While here, get rid also of the udelay(1) abstraction code.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
18 files changed:
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_cmd.h
drivers/staging/media/atomisp/pci/atomisp_compat.h
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c
drivers/staging/media/atomisp/pci/atomisp_helper.h [deleted file]
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq.c
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/isp.c
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/vmem.c
drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
drivers/staging/media/atomisp/pci/hrt/hive_isp_css_custom_host_hrt.h [deleted file]
drivers/staging/media/atomisp/pci/isp2400_system_local.h
drivers/staging/media/atomisp/pci/isp2401_system_local.h
drivers/staging/media/atomisp/pci/runtime/event/src/event.c
drivers/staging/media/atomisp/pci/runtime/eventq/src/eventq.c
drivers/staging/media/atomisp/pci/runtime/inputfifo/src/inputfifo.c
drivers/staging/media/atomisp/pci/sh_css.c
drivers/staging/media/atomisp/pci/sh_css_hrt.c
drivers/staging/media/atomisp/pci/sh_css_sp.c