summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2013-11-27 15:16:17 +0100
committerLee Jones <lee.jones@linaro.org>2014-01-21 08:13:37 +0000
commit41096801f9de9b86ddfdfabd195e604b1c1087fe (patch)
tree4654273d643a2d72ff5ec0094f5ebd8f48042b26 /drivers/mfd
parent3008ddbe061b0f1d5c8ffbb599f105b67cf06637 (diff)
downloadtalos-op-linux-41096801f9de9b86ddfdfabd195e604b1c1087fe.tar.gz
talos-op-linux-41096801f9de9b86ddfdfabd195e604b1c1087fe.zip
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/max14577.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index 94b766d8cb15..1337c4527028 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -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", },
};
OpenPOWER on IntegriCloud