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 94b766d..1337c45 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", },
 };