Input: 88pm860x_onkey - remove invalid irq number assignment
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Wed, 19 May 2010 17:11:13 +0000 (10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:14:10 +0000 (10:14 -0700)
Irq number of onkey is assigned twice. The second assignment is wrong.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/88pm860x_onkey.c

index 40dabd8487b5933903b8062a4b82fd7c2153da85..4cc82826ea6bc273168c3a34f100b28025fe3366 100644 (file)
@@ -87,7 +87,6 @@ static int __devinit pm860x_onkey_probe(struct platform_device *pdev)
        info->idev->phys = "88pm860x_on/input0";
        info->idev->id.bustype = BUS_I2C;
        info->idev->dev.parent = &pdev->dev;
-       info->irq = irq;
        info->idev->evbit[0] = BIT_MASK(EV_KEY);
        info->idev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER);