summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8997.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-07-02 09:02:55 +0900
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:13 +0200
commitb41511f713ccaef666e450fae8cb18909897fe4e (patch)
tree078c2a625964f7769a1fecc4fa5f6cf24dc2df68 /drivers/mfd/max8997.c
parentbad76991d7847b7877ae797cc79745d82ffd9120 (diff)
downloadop-kernel-dev-b41511f713ccaef666e450fae8cb18909897fe4e.zip
op-kernel-dev-b41511f713ccaef666e450fae8cb18909897fe4e.tar.gz
mfd: Add irq domain support for max8997 interrupts
Add irq domain support for max8997 interrupts. The reverse mapping method used is linear mapping since the sub-drivers of max8997 such as regulator and charger drivers can use the max8997 irq_domain to get the linux irq number for max8997 interrupts. All uses of irq_base in platform data and max8997 driver private data are removed. Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/max8997.c')
-rw-r--r--drivers/mfd/max8997.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 454f499..10b629c 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -143,7 +143,6 @@ static int max8997_i2c_probe(struct i2c_client *i2c,
if (!pdata)
goto err;
- max8997->irq_base = pdata->irq_base;
max8997->ono = pdata->ono;
mutex_init(&max8997->iolock);
OpenPOWER on IntegriCloud