* [PATCH] Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell"
@ 2021-04-05 7:14 Timon Baetz
2021-04-14 9:14 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Timon Baetz @ 2021-04-05 7:14 UTC (permalink / raw)
To: Lee Jones; +Cc: linux-kernel, Timon Baetz
This reverts commit 9c03008da125c1007919a9186628af3cc105f526.
commit 41a8a027f4d3 ("regulator: dt-bindings: Document charger-supply
for max8997") introduced a binding which uses a property of the max8997
pmic node to configure charger supply, making subnodes for MFD cells
obsolete.
Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
---
drivers/mfd/max8997.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 55d3a6f97783..68d8f2b95287 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -29,9 +29,9 @@
static const struct mfd_cell max8997_devs[] = {
{ .name = "max8997-pmic", },
{ .name = "max8997-rtc", },
- { .name = "max8997-battery", .of_compatible = "maxim,max8997-battery", },
+ { .name = "max8997-battery", },
{ .name = "max8997-haptic", },
- { .name = "max8997-muic", .of_compatible = "maxim,max8997-muic", },
+ { .name = "max8997-muic", },
{ .name = "max8997-led", .id = 1 },
{ .name = "max8997-led", .id = 2 },
};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell"
2021-04-05 7:14 [PATCH] Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell" Timon Baetz
@ 2021-04-14 9:14 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2021-04-14 9:14 UTC (permalink / raw)
To: Timon Baetz; +Cc: linux-kernel
On Mon, 05 Apr 2021, Timon Baetz wrote:
> This reverts commit 9c03008da125c1007919a9186628af3cc105f526.
>
> commit 41a8a027f4d3 ("regulator: dt-bindings: Document charger-supply
> for max8997") introduced a binding which uses a property of the max8997
> pmic node to configure charger supply, making subnodes for MFD cells
> obsolete.
>
> Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
> ---
> drivers/mfd/max8997.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-14 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-05 7:14 [PATCH] Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell" Timon Baetz
2021-04-14 9:14 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox