diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-07-02 01:10:39 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-07-13 06:26:50 +0300 |
commit | f8951dce10c092075e39ef12c29022548e4c63db (patch) | |
tree | 0682296c7a9a57edd873970b4f1d1389a4ba6e56 /mm/hugetlb_cgroup.c | |
parent | 2a83544007aba792167615c393e6154824f3a175 (diff) | |
download | linux-f8951dce10c092075e39ef12c29022548e4c63db.tar.xz |
ARM: imx: Remove imx_add_imx_dma() unused irq_err argument
No callers of imx_add_imx_dma() need an error IRQ, so they supply 0 as
"irq_err", which means we register a resource of IRQ 0, which is invalid
and causes a warning if used.
Remove the "irq_err" argument altogether so there's no chance of trying to
use the invalid IRQ 0.
Fixes: a85a6c86c25be ("driver core: platform: Clarify that IRQ 0 is invalid")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: kernel@pengutronix.de
Cc: Fabio Estevam <festevam@gmail.com>
Cc: linux-imx@nxp.com
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions