Skip to content

Commit 4476767

Browse files
krzkLee Jones
authored andcommitted
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>
1 parent 25cc24c commit 4476767

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎drivers/mfd/max14577.c‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ static const struct mfd_cell max14577_devs[] = {
3535
.name = "max14577-regulator",
3636
.of_compatible = "maxim,max14577-regulator",
3737
},
38-
{ .name = "max14577-charger", },
38+
{
39+
.name = "max14577-charger",
40+
.of_compatible = "maxim,max14577-charger",
41+
},
3942
};
4043

4144
static const struct mfd_cell max77836_devs[] = {

0 commit comments

Comments
 (0)