staging: vc04_services: Use ARRAY_SIZE macro
authorGargi Sharma <gs051095@gmail.com>
Wed, 8 Mar 2017 17:06:22 +0000 (22:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 18:07:57 +0000 (19:07 +0100)
commitd493859392000828804c0f1bfe500e3ce17d533f
tree31d709a5db49c0048ac86e931a625a20adda3464
parentecf2d4aa7abe3128bf3f49d7b21f269c8a937cf2
staging: vc04_services: Use ARRAY_SIZE macro

Use ARRAY_SIZE to calculate the size of an array.
The semantic patch used can be found here:
https://github.com/coccinelle/coccinellery/blob/master/arraysize/array.cocci

Signed-off-by: Gargi Sharma <gs051095@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c