gpio: pca953x: Use ARRAY_SIZE instead of reinventing it
authorAxel Lin <axel.lin@ingics.com>
Sat, 22 Jun 2013 10:22:48 +0000 (18:22 +0800)
committerTom Rini <trini@ti.com>
Fri, 16 Aug 2013 17:45:15 +0000 (13:45 -0400)
commitf21876174364391757e743cb8673d3fc5fce7ac7
treea5bceb19aca4e5b4c8c9b54b743671f8424d99be
parent2db1c3fc673c2ddfa1f8dbb41326d9763ea0ae64
gpio: pca953x: Use ARRAY_SIZE instead of reinventing it

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/gpio/pca953x.c