summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2010-05-19 21:11:13 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-05-19 21:14:10 +0400
commitee6e54e2ae56734a96fd7b66cf46b756d0f25ca3 (patch)
tree8afafdd7a41689112dc5a7657d318ddab9dc0cb4 /drivers/input
parentdba06b839a502321ae40b7061d64308bc91d260f (diff)
downloadlinux-ee6e54e2ae56734a96fd7b66cf46b756d0f25ca3.tar.xz
Input: 88pm860x_onkey - remove invalid irq number assignment
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/misc/88pm860x_onkey.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/88pm860x_onkey.c b/drivers/input/misc/88pm860x_onkey.c
index 40dabd8487b5..4cc82826ea6b 100644
--- a/drivers/input/misc/88pm860x_onkey.c
+++ b/drivers/input/misc/88pm860x_onkey.c
@@ -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);