Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Haojian Zhuang and committed by
Dmitry Torokhov
ee6e54e2 dba06b83

-1
-1
drivers/input/misc/88pm860x_onkey.c
··· 87 87 info->idev->phys = "88pm860x_on/input0"; 88 88 info->idev->id.bustype = BUS_I2C; 89 89 info->idev->dev.parent = &pdev->dev; 90 - info->irq = irq; 91 90 info->idev->evbit[0] = BIT_MASK(EV_KEY); 92 91 info->idev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); 93 92