]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: Remove imx_add_imx_dma() unused irq_err argument
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 1 Jul 2020 22:10:39 +0000 (17:10 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 13 Jul 2020 03:26:50 +0000 (11:26 +0800)
commit3cf5763f168190617e03a26a8201595cc03a8ef4
tree0682296c7a9a57edd873970b4f1d1389a4ba6e56
parent080f753c1ee79973c13cfe4e5b64ebafe24c08f4
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: 77849ba8d8719 ("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>
arch/arm/mach-imx/devices/devices-common.h
arch/arm/mach-imx/devices/platform-imx-dma.c
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx27.c