diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2018-06-11 14:58:43 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-07-04 09:16:09 +0300 |
commit | c727eea92c9232169c0d375309718fb398aaec67 (patch) | |
tree | e15b217f688fcdfc78e5ee824286ebb7b8a47f85 /include/linux/mfd | |
parent | 152bed762ad95373279dc15044706f59c2f39638 (diff) | |
download | linux-c727eea92c9232169c0d375309718fb398aaec67.tar.xz |
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/da9063/core.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/da9063/core.h b/include/linux/mfd/da9063/core.h index 8e6684d884e0..260cd5834861 100644 --- a/include/linux/mfd/da9063/core.h +++ b/include/linux/mfd/da9063/core.h @@ -72,9 +72,6 @@ enum da9063_irqs { DA9063_IRQ_GPI15, }; -#define DA9063_IRQ_BASE_OFFSET 0 -#define DA9063_NUM_IRQ (DA9063_IRQ_GPI15 + 1 - DA9063_IRQ_BASE_OFFSET) - struct da9063 { /* Device */ struct device *dev; |