lkml.org 
[lkml]   [2010]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[064/289] i2c-pca-platform: Change device name of request_irq
    2.6.36-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>

    commit 323584436db0cb05286425d4dfd9516fce88487f upstream.

    i2c->adap.name shouldn't be used in request_irq.
    Instead the driver name "i2c-pca-platform" should be used.

    Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
    Acked-by: Wolfram Sang <w.sang@pengutronix.de>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/i2c/busses/i2c-pca-platform.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/i2c/busses/i2c-pca-platform.c
    +++ b/drivers/i2c/busses/i2c-pca-platform.c
    @@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(st

    if (irq) {
    ret = request_irq(irq, i2c_pca_pf_handler,
    - IRQF_TRIGGER_FALLING, i2c->adap.name, i2c);
    + IRQF_TRIGGER_FALLING, pdev->name, i2c);
    if (ret)
    goto e_reqirq;
    }



    \
     
     \ /
      Last update: 2010-12-08 02:53    [W:0.018 / U:29.708 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site