Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2802c94c authored by Stephen Boyd's avatar Stephen Boyd Committed by Lee Jones
Browse files

mfd: pm8921: Drop irq_set_lockdep_class() code



This isn't necessary as we aren't setting the summary interrupt
to wake up the system in the irq_wake() callback.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 6a5926e6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -310,14 +310,11 @@ static int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq)
	return rc;
}

static struct lock_class_key pm8xxx_irq_lock_class;

static int pm8xxx_irq_domain_map(struct irq_domain *d, unsigned int irq,
				   irq_hw_number_t hwirq)
{
	struct pm_irq_chip *chip = d->host_data;

	irq_set_lockdep_class(irq, &pm8xxx_irq_lock_class);
	irq_set_chip_and_handler(irq, &pm8xxx_irq_chip, handle_level_irq);
	irq_set_chip_data(irq, chip);
#ifdef CONFIG_ARM