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

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
...@@ -310,14 +310,11 @@ static int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq) ...@@ -310,14 +310,11 @@ static int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq)
return rc; return rc;
} }
static struct lock_class_key pm8xxx_irq_lock_class;
static int pm8xxx_irq_domain_map(struct irq_domain *d, unsigned int irq, static int pm8xxx_irq_domain_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hwirq) irq_hw_number_t hwirq)
{ {
struct pm_irq_chip *chip = d->host_data; 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_and_handler(irq, &pm8xxx_irq_chip, handle_level_irq);
irq_set_chip_data(irq, chip); irq_set_chip_data(irq, chip);
#ifdef CONFIG_ARM #ifdef CONFIG_ARM
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment