lkml.org 
[lkml]   [2011]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 02/10] mfd: 88pm860x: Remove unused irq_desc leftovers
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    drivers/mfd/88pm860x-core.c | 3 ---
    1 file changed, 3 deletions(-)

    Index: linux-2.6-tip/drivers/mfd/88pm860x-core.c
    ===================================================================
    --- linux-2.6-tip.orig/drivers/mfd/88pm860x-core.c
    +++ linux-2.6-tip/drivers/mfd/88pm860x-core.c
    @@ -508,7 +508,6 @@ static int __devinit device_irq_init(str
    : 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;

    @@ -560,8 +559,6 @@ static int __devinit device_irq_init(str
    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;



    \
     
     \ /
      Last update: 2011-03-25 12:15    [W:0.021 / U:2.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site