projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a7d60
)
mfd: 88pm860x: Remove unused irq_desc leftovers
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 25 Mar 2011 11:12:27 +0000
(11:12 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 26 Mar 2011 23:09:41 +0000
(
00:09
+0100)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/88pm860x-core.c
b/drivers/mfd/88pm860x-core.c
index 9c511c1604a5f09c4051172eca8c2b95bbf691df..e13e9f0f6d70d9adef5d5e3be15994f63fd97ab0 100644
(file)
--- a/
drivers/mfd/88pm860x-core.c
+++ b/
drivers/mfd/88pm860x-core.c
@@
-416,7
+416,6
@@
static int __devinit device_irq_init(struct pm860x_chip *chip,
: chip->companion;
unsigned char status_buf[INT_STATUS_NUM];
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
- struct irq_desc *desc;
int i, data, mask, ret = -EINVAL;
int __irq;
@@
-468,8
+467,6
@@
static int __devinit device_irq_init(struct pm860x_chip *chip,
if (!chip->core_irq)
goto out;
- desc = irq_to_desc(chip->core_irq);
-
/* register IRQ by genirq */
for (i = 0; i < ARRAY_SIZE(pm860x_irqs); i++) {
__irq = i + chip->irq_base;