summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-09-05 12:15:10 +0200
committerLee Jones <lee.jones@linaro.org>2014-09-26 08:23:54 +0100
commitbe69e9e00718ac5e93a22184ed33d8d719bee9cd (patch)
treeb880ba3a8978cb49c0feaf3e97d6a6b3dc8595bd
parent0bf1f0cda11ef34765fd5e0bef9771785658fb91 (diff)
downloadop-kernel-dev-be69e9e00718ac5e93a22184ed33d8d719bee9cd.zip
op-kernel-dev-be69e9e00718ac5e93a22184ed33d8d719bee9cd.tar.gz
mfd: max14577: Don't pass IRQ domain to mfd_add_devices
The max14577 MFD cells do not have any resources so the IRQ domain passed to mfd_add_devices is not used. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/max14577.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index b8af263..de96b7f 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -456,8 +456,7 @@ static int max14577_i2c_probe(struct i2c_client *i2c,
}
ret = mfd_add_devices(max14577->dev, -1, mfd_devs,
- mfd_devs_size, NULL, 0,
- regmap_irq_get_domain(max14577->irq_data));
+ mfd_devs_size, NULL, 0, NULL);
if (ret < 0)
goto err_mfd;
OpenPOWER on IntegriCloud