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:
9eaee99
)
mfd: mx8925: Remove irq_desc leftovers
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 25 Mar 2011 11:12:30 +0000
(11:12 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 26 Mar 2011 23:09:47 +0000
(
00:09
+0100)
Remove unused code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8925-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max8925-core.c
b/drivers/mfd/max8925-core.c
index 0e998dc4e7d8cb0c9407a90cb615e9559d6d1b21..a92ea9bb83faf0ab2469a36d4fad52d8cec62843 100644
(file)
--- a/
drivers/mfd/max8925-core.c
+++ b/
drivers/mfd/max8925-core.c
@@
-517,7
+517,6
@@
static int max8925_irq_init(struct max8925_chip *chip, int irq,
struct max8925_platform_data *pdata)
{
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
- struct irq_desc *desc;
int i, ret;
int __irq;
@@
-544,7
+543,6
@@
static int max8925_irq_init(struct max8925_chip *chip, int irq,
mutex_init(&chip->irq_lock);
chip->core_irq = irq;
chip->irq_base = pdata->irq_base;
- desc = irq_to_desc(chip->core_irq);
/* register with genirq */
for (i = 0; i < ARRAY_SIZE(max8925_irqs); i++) {