diff options
author | Milo Kim <woogyom.kim@gmail.com> | 2016-11-15 08:02:12 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-11-29 03:21:39 -0500 |
commit | f66020640367affd8efa788dc3f904acac435244 (patch) | |
tree | b04244a4662c7e9a5289f191e4e60691fc1adaeb | |
parent | 40a50f8b307de8d08f3fa37c312fc16a7dd233e5 (diff) |
mfd: tps65217: Specify the IRQ name
TPS65217 MFD is an interrupt controller and MFD slave devices like
tps65217-charger and tps65217-pwrbutton request an interrupt to handle
each HW event.
Currently, TPS65217 IRQ name is not defined, so the result is as below.
root@arm:~# cat /proc/interrupts
...
182: 0 INTC 7 Level tps65217-irq
183: 0 - 1 Edge tps65217-charger
185: 0 - 2 Edge tps65217_pwrbutton
This patch specifies the name of the interrupt controller.
182: 0 INTC 7 Level tps65217-irq
183: 0 tps65217 1 Edge tps65217-charger
185: 0 tps65217 2 Edge tps65217_pwrbutton
Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/tps65217.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c index df2e7756927f..77fb8122abd8 100644 --- a/drivers/mfd/tps65217.c +++ b/drivers/mfd/tps65217.c | |||
@@ -105,6 +105,7 @@ static void tps65217_irq_disable(struct irq_data *data) | |||
105 | } | 105 | } |
106 | 106 | ||
107 | static struct irq_chip tps65217_irq_chip = { | 107 | static struct irq_chip tps65217_irq_chip = { |
108 | .name = "tps65217", | ||
108 | .irq_bus_lock = tps65217_irq_lock, | 109 | .irq_bus_lock = tps65217_irq_lock, |
109 | .irq_bus_sync_unlock = tps65217_irq_sync_unlock, | 110 | .irq_bus_sync_unlock = tps65217_irq_sync_unlock, |
110 | .irq_enable = tps65217_irq_enable, | 111 | .irq_enable = tps65217_irq_enable, |