mirror of https://gitee.com/openkylin/linux.git
staging: hi6421-spmi-pmic: better name IRQs
Instead of naming them as just "hisi", use hi6421v600 to make it clearer. Suggested-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/327fb075905b889a43a0f9dced29ea9966d611f8.1624606660.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fc3d3369c6
commit
943f5a04e1
|
@ -145,7 +145,7 @@ static void hi6421_spmi_irq_unmask(struct irq_data *d)
|
|||
}
|
||||
|
||||
static struct irq_chip hi6421_spmi_pmu_irqchip = {
|
||||
.name = "hisi-irq",
|
||||
.name = "hi6421v600-irq",
|
||||
.irq_mask = hi6421_spmi_irq_mask,
|
||||
.irq_unmask = hi6421_spmi_irq_unmask,
|
||||
.irq_disable = hi6421_spmi_irq_mask,
|
||||
|
@ -158,7 +158,7 @@ static int hi6421_spmi_irq_map(struct irq_domain *d, unsigned int virq,
|
|||
struct hi6421_spmi_pmic *ddata = d->host_data;
|
||||
|
||||
irq_set_chip_and_handler_name(virq, &hi6421_spmi_pmu_irqchip,
|
||||
handle_simple_irq, "hisi");
|
||||
handle_simple_irq, "hi6421v600");
|
||||
irq_set_chip_data(virq, ddata);
|
||||
irq_set_irq_type(virq, IRQ_TYPE_NONE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue