mfd: max14577: Match regulator by of_compatible string

Match max14577 regulator driver by of_compatible specified in mfd_cell.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Krzysztof Kozlowski 2013-11-27 15:16:17 +01:00 committed by Lee Jones
parent 3008ddbe06
commit 41096801f9

View File

@ -26,7 +26,10 @@
static struct mfd_cell max14577_devs[] = {
{ .name = "max14577-muic", },
{ .name = "max14577-regulator", },
{
.name = "max14577-regulator",
.of_compatible = "maxim,max14577-regulator",
},
{ .name = "max14577-charger", },
};