]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf323c0eba8197c95240fd662faf493648f45a4d
treea595bf324e27de024aa4af57bcea21522cdd563d
parent487e1a9d64678a7812c7d41ec3f413f0e227075e
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