Skip to content

Commit a0b0ea4

Browse files
krzkLee Jones
authored andcommitted
mfd: max14577: Add of_compatible to extcon mfd_cell
Add of_compatible ("maxim,max14577-muic") to the mfd_cell for extcon driver. If entry with such compatible is present in the DTS, the extcon driver will have of_node set. This may be useful for extcon consumers and it is documented in bindings documentation. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent ec2b267 commit a0b0ea4

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
@@ -25,7 +25,10 @@
2525
#include <linux/mfd/max14577-private.h>
2626

2727
static struct mfd_cell max14577_devs[] = {
28-
{ .name = "max14577-muic", },
28+
{
29+
.name = "max14577-muic",
30+
.of_compatible = "maxim,max14577-muic",
31+
},
2932
{
3033
.name = "max14577-regulator",
3134
.of_compatible = "maxim,max14577-regulator",

0 commit comments

Comments
 (0)