]> Pileus Git - ~andy/linux/commitdiff
mfd: max14577: Match regulator by of_compatible string
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 27 Nov 2013 14:16:17 +0000 (15:16 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 21 Jan 2014 08:13:37 +0000 (08:13 +0000)
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>
drivers/mfd/max14577.c

index 94b766d8cb15844c19ebac958dfbbacc9543698e..1337c45270289caa6806e6096b34e54135edf6f7 100644 (file)
 
 static struct mfd_cell max14577_devs[] = {
        { .name = "max14577-muic", },
-       { .name = "max14577-regulator", },
+       {
+               .name = "max14577-regulator",
+               .of_compatible = "maxim,max14577-regulator",
+       },
        { .name = "max14577-charger", },
 };