diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-02-24 14:08:28 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-03-06 14:56:25 +0100 |
commit | 7bb97e360acdd38b68ad0a1defb89c6e89c85596 (patch) | |
tree | d39872dcb3681da23e2e3c480a15fb578a39dea0 /drivers/pinctrl/pinctrl-at91-pio4.c | |
parent | pinctrl: mediatek: fix naming inconsistency (diff) | |
download | linux-7bb97e360acdd38b68ad0a1defb89c6e89c85596.tar.xz linux-7bb97e360acdd38b68ad0a1defb89c6e89c85596.zip |
pinctrl: at91-pio4: fix domain name assignment
Since commit d59f6617eef0 ("genirq: Allow fwnode to carry name
information only") an IRQ domain is always given a name during
allocation (e.g. used for the debugfs entry).
Drop the no longer valid name assignment, which would lead to an attempt
to free a string constant when removing the domain on late probe
failures (e.g. probe deferral).
Fixes: d59f6617eef0 ("genirq: Allow fwnode to carry name information only")
Cc: stable@vger.kernel.org # 4.13
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com> # on SAMA7G5
Link: https://lore.kernel.org/r/20230224130828.27985-1-johan+linaro@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91-pio4.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91-pio4.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c index 373eed8bc4be..c775d239444a 100644 --- a/drivers/pinctrl/pinctrl-at91-pio4.c +++ b/drivers/pinctrl/pinctrl-at91-pio4.c @@ -1206,7 +1206,6 @@ static int atmel_pinctrl_probe(struct platform_device *pdev) dev_err(dev, "can't add the irq domain\n"); return -ENODEV; } - atmel_pioctrl->irq_domain->name = "atmel gpio"; for (i = 0; i < atmel_pioctrl->npins; i++) { int irq = irq_create_mapping(atmel_pioctrl->irq_domain, i); |