Commit 41096801 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones

mfd: max14577: Match regulator by of_compatible string

Match max14577 regulator driver by of_compatible specified in mfd_cell.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 3008ddbe
...@@ -26,7 +26,10 @@ ...@@ -26,7 +26,10 @@
static struct mfd_cell max14577_devs[] = { static struct mfd_cell max14577_devs[] = {
{ .name = "max14577-muic", }, { .name = "max14577-muic", },
{ .name = "max14577-regulator", }, {
.name = "max14577-regulator",
.of_compatible = "maxim,max14577-regulator",
},
{ .name = "max14577-charger", }, { .name = "max14577-charger", },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment