mfd: max14577: Map charger device to its own of_node
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 12 Sep 2014 06:53:54 +0000 (08:53 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 24 Sep 2014 12:42:46 +0000 (13:42 +0100)
commit4476767cff44737f8965b34af0f375ac49f7fafa
treef85d28297be801ec17f892559c2dea682d39b6ef
parent25cc24c200dcba21bd1f1a59a01741185062dc0e
mfd: max14577: Map charger device to its own of_node

Add a "maxim,max14577-charger" of_compatible to the mfd_cell so the
MFD child device (the charger) will have its own of_node set. This will
be used by the max14577 charger driver in next patches to obtain battery
configuration from DTS.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max14577.c