]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: max14577: Don't pass IRQ domain to mfd_add_devices
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 5 Sep 2014 10:15:10 +0000 (12:15 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:23:54 +0000 (08:23 +0100)
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>
drivers/mfd/max14577.c

index b8af263be5944efc9f2b8d17f32590be35d4c5e8..de96b7fb1f6d8e94c95230e090a0e415e281cbaa 100644 (file)
@@ -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;