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 <syepattu@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
tirimbino
Sudharsan Reddy Yettapu 5 years ago committed by Sivasri Kumar Vanka
parent 83006a56db
commit 98f4332552
  1. 4
      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;
}

Loading…
Cancel
Save