diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2011-03-07 23:43:12 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:42:06 +0100 |
commit | c9f560b3d0222f6a6e3faeda324e786e230e4f20 (patch) | |
tree | 8ee05fa5c77f0442bffc740fc1f7adf7ab10ea6f /drivers/input/misc/88pm860x_onkey.c | |
parent | 22aad0011e4728a29bf3775b6f5e2f9677abd8c0 (diff) | |
download | blackbird-op-linux-c9f560b3d0222f6a6e3faeda324e786e230e4f20.tar.gz blackbird-op-linux-c9f560b3d0222f6a6e3faeda324e786e230e4f20.zip |
mfd: Adopt mfd_data in 88pm860x input driver
Copy 88pm860x platform data into different mfd_data structure for
onkey/touch/codec/power driver. So move the identification of
device node from those drivers to mfd driver.
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/input/misc/88pm860x_onkey.c')
-rw-r--r-- | drivers/input/misc/88pm860x_onkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/88pm860x_onkey.c b/drivers/input/misc/88pm860x_onkey.c index 4cc82826ea6b..3dca3c14510e 100644 --- a/drivers/input/misc/88pm860x_onkey.c +++ b/drivers/input/misc/88pm860x_onkey.c @@ -74,7 +74,7 @@ static int __devinit pm860x_onkey_probe(struct platform_device *pdev) info->chip = chip; info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion; info->dev = &pdev->dev; - info->irq = irq + chip->irq_base; + info->irq = irq; info->idev = input_allocate_device(); if (!info->idev) { |