media: atomisp: Replace COMPILATION_ERROR_IF() by static_assert()

Replace COMPILATION_ERROR_IF() by static_assert().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240424184421.1737776-3-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
Andy Shevchenko 2024-04-24 21:43:32 +03:00 • committed by Hans Verkuil
commit 92a643eec7
10 changed files with 40 additions and 65 deletions