From 98f4332552eb9e0482ee23e178c5146152217679 Mon Sep 17 00:00:00 2001 From: Sudharsan Reddy Yettapu Date: Mon, 14 Oct 2019 17:01:06 +0530 Subject: [PATCH] drivers: irqchip: qcom: Don't assign irq domian name Assigning irq domain name with static string results in kernel panic when irq domain remove call is called. Change-Id: I4c1a85ffd803d0cfc3dae38ad6abe07422a32b4f Signed-off-by: Sudharsan Reddy Yettapu Signed-off-by: Sivasri Kumar Vanka --- drivers/irqchip/qcom/mpm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/irqchip/qcom/mpm.c b/drivers/irqchip/qcom/mpm.c index 7dc0a0d4b037..d7812f07f559 100644 --- a/drivers/irqchip/qcom/mpm.c +++ b/drivers/irqchip/qcom/mpm.c @@ -683,8 +683,6 @@ static int __init mpm_gic_chip_init(struct device_node *node, goto mpm_map_err; } - msm_mpm_dev_data.gic_chip_domain->name = "qcom,mpm-gic"; - ret = msm_mpm_init(node); if (!ret) return ret; @@ -715,8 +713,6 @@ static int __init mpm_gpio_chip_init(struct device_node *node, if (!msm_mpm_dev_data.gpio_chip_domain) return -ENOMEM; - msm_mpm_dev_data.gpio_chip_domain->name = "qcom,mpm-gpio"; - return 0; }