media: atomisp:use ARRAY_SIZE() instead of open coding
authorAllen Pais <allen.lkml@gmail.com>
Wed, 13 Sep 2017 09:15:58 +0000 (05:15 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 19:08:38 +0000 (15:08 -0400)
commite6cc710806e191acfa2691d2fb8cb7f19ffd2b0e
treea595bf324e27de024aa4af57bcea21522cdd563d
parent34d340b784de0ba77c3c14f26c3ae678f8bb762a
media: atomisp:use ARRAY_SIZE() instead of open coding

The array_length() macro just duplicates ARRAY_SIZE(), so we can
delete it.

Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css.c