mbox series

[v1,0/2] media: atomisp: A couple of cleanups

Message ID 20240424184421.1737776-1-andriy.shevchenko@linux.intel.com
Headers show
Series media: atomisp: A couple of cleanups | expand

Message

Andy Shevchenko April 24, 2024, 6:43 p.m. UTC
1/ Drop a lot of unused math related macros.
2/ Replace homegrown static_assert()

Andy Shevchenko (2):
  media: atomisp: Clean up unused macros from math_support.h
  media: atomisp: Replace COMPILATION_ERROR_IF() by static_assert()

 .../circbuf/interface/ia_css_circbuf_comm.h   |   6 +
 .../pci/camera/util/interface/ia_css_util.h   |  11 --
 .../media/atomisp/pci/camera/util/src/util.c  |  25 ++--
 .../pci/hive_isp_css_include/assert_support.h |  23 ----
 .../pci/hive_isp_css_include/math_support.h   | 110 +-----------------
 .../pci/hive_isp_css_include/type_support.h   |   5 +-
 drivers/staging/media/atomisp/pci/ia_css_3a.h |   5 +
 .../staging/media/atomisp/pci/ia_css_dvs.h    |   4 +
 .../media/atomisp/pci/ia_css_metadata.h       |   4 +
 .../staging/media/atomisp/pci/ia_css_types.h  |   2 +
 .../kernels/xnr/xnr_3.0/ia_css_xnr3.host.c    |   6 +-
 .../atomisp/pci/runtime/binary/src/binary.c   |   2 -
 .../spctrl/interface/ia_css_spctrl_comm.h     |   4 +
 drivers/staging/media/atomisp/pci/sh_css.c    |  38 ------
 .../staging/media/atomisp/pci/sh_css_frac.h   |   4 +-
 .../media/atomisp/pci/sh_css_internal.h       |  15 ++-
 16 files changed, 60 insertions(+), 204 deletions(-)

Comments

Hans de Goede July 2, 2024, 10:34 a.m. UTC | #1
Hi,

On 4/24/24 8:43 PM, Andy Shevchenko wrote:
> 1/ Drop a lot of unused math related macros.
> 2/ Replace homegrown static_assert()

Thank you for your patches.

I have merged these in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And these patches will be included in my next
pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans



> 
> Andy Shevchenko (2):
>   media: atomisp: Clean up unused macros from math_support.h
>   media: atomisp: Replace COMPILATION_ERROR_IF() by static_assert()
> 
>  .../circbuf/interface/ia_css_circbuf_comm.h   |   6 +
>  .../pci/camera/util/interface/ia_css_util.h   |  11 --
>  .../media/atomisp/pci/camera/util/src/util.c  |  25 ++--
>  .../pci/hive_isp_css_include/assert_support.h |  23 ----
>  .../pci/hive_isp_css_include/math_support.h   | 110 +-----------------
>  .../pci/hive_isp_css_include/type_support.h   |   5 +-
>  drivers/staging/media/atomisp/pci/ia_css_3a.h |   5 +
>  .../staging/media/atomisp/pci/ia_css_dvs.h    |   4 +
>  .../media/atomisp/pci/ia_css_metadata.h       |   4 +
>  .../staging/media/atomisp/pci/ia_css_types.h  |   2 +
>  .../kernels/xnr/xnr_3.0/ia_css_xnr3.host.c    |   6 +-
>  .../atomisp/pci/runtime/binary/src/binary.c   |   2 -
>  .../spctrl/interface/ia_css_spctrl_comm.h     |   4 +
>  drivers/staging/media/atomisp/pci/sh_css.c    |  38 ------
>  .../staging/media/atomisp/pci/sh_css_frac.h   |   4 +-
>  .../media/atomisp/pci/sh_css_internal.h       |  15 ++-
>  16 files changed, 60 insertions(+), 204 deletions(-)
>