diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2010-05-19 13:11:13 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-05-19 13:14:10 -0400 |
commit | ee6e54e2ae56734a96fd7b66cf46b756d0f25ca3 (patch) | |
tree | 8afafdd7a41689112dc5a7657d318ddab9dc0cb4 /drivers/input | |
parent | dba06b839a502321ae40b7061d64308bc91d260f (diff) |
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.c | 1 |
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) | |||
87 | info->idev->phys = "88pm860x_on/input0"; | 87 | info->idev->phys = "88pm860x_on/input0"; |
88 | info->idev->id.bustype = BUS_I2C; | 88 | info->idev->id.bustype = BUS_I2C; |
89 | info->idev->dev.parent = &pdev->dev; | 89 | info->idev->dev.parent = &pdev->dev; |
90 | info->irq = irq; | ||
91 | info->idev->evbit[0] = BIT_MASK(EV_KEY); | 90 | info->idev->evbit[0] = BIT_MASK(EV_KEY); |
92 | info->idev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); | 91 | info->idev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); |
93 | 92 | ||