Skip to content

Commit

Permalink
mfd: max14577: Don't pass IRQ domain to mfd_add_devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Lee Jones committed Sep 26, 2014
1 parent 0bf1f0c commit be69e9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mfd/max14577.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit be69e9e

Please sign in to comment.