Re: [PATCH] mfd: max14577: Match regulator by of_compatible string

From: Lee Jones
Date: Wed Nov 27 2013 - 09:30:39 EST


> Match max14577 regulator driver by of_compatible specified in mfd_cell.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
> ---
> drivers/mfd/max14577.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
> index 94b766d..1337c45 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", },
> };
>

Applied, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/