mfd: da9063: Replace DA9063_NUM_IRQ with ARRAY_SIZE
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 11 Jun 2018 11:58:43 +0000 (13:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 4 Jul 2018 06:16:09 +0000 (07:16 +0100)
commitc727eea92c9232169c0d375309718fb398aaec67
treee15b217f688fcdfc78e5ee824286ebb7b8a47f85
parent152bed762ad95373279dc15044706f59c2f39638
mfd: da9063: Replace DA9063_NUM_IRQ with ARRAY_SIZE

Replace DA9063_NUM_IRQ macro which is not used anywhere with
plain ARRAY_SIZE().

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9063-irq.c
include/linux/mfd/da9063/core.h