linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: hwmon: Correct vendor for mcp980x
@ 2020-07-03 15:37 Daniel M. Weeks
  2020-07-03 21:59 ` Guenter Roeck
  2020-07-15 21:39 ` Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Daniel M. Weeks @ 2020-07-03 15:37 UTC (permalink / raw)
  To: jdelvare, linux, robh+dt; +Cc: linux-hwmon, devicetree, linux-kernel

Signed-off-by: Daniel M. Weeks <dan@danweeks.net>
---
 Documentation/devicetree/bindings/hwmon/lm75.txt | 2 +-
 drivers/hwmon/lm75.c                             | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/hwmon/lm75.txt b/Documentation/devicetree/bindings/hwmon/lm75.txt
index 273616702c51..e5bb554cd2c3 100644
--- a/Documentation/devicetree/bindings/hwmon/lm75.txt
+++ b/Documentation/devicetree/bindings/hwmon/lm75.txt
@@ -14,10 +14,10 @@ Required properties:
 		"maxim,max6626",
 		"maxim,max31725",
 		"maxim,max31726",
-		"maxim,mcp980x",
 		"nxp,pct2075",
 		"st,stds75",
 		"st,stlm75",
+		"microchip,mcp980x",
 		"microchip,tcn75",
 		"ti,tmp100",
 		"ti,tmp101",
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index ba0be48aeadd..a8cfc7e4a685 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -690,10 +690,6 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = {
 		.compatible = "maxim,max31726",
 		.data = (void *)max31725
 	},
-	{
-		.compatible = "maxim,mcp980x",
-		.data = (void *)mcp980x
-	},
 	{
 		.compatible = "nxp,pct2075",
 		.data = (void *)pct2075
@@ -706,6 +702,10 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = {
 		.compatible = "st,stlm75",
 		.data = (void *)stlm75
 	},
+	{
+		.compatible = "microchip,mcp980x",
+		.data = (void *)mcp980x
+	},
 	{
 		.compatible = "microchip,tcn75",
 		.data = (void *)tcn75
-- 
Daniel M. Weeks

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-15 22:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 15:37 [PATCH] dt-bindings: hwmon: Correct vendor for mcp980x Daniel M. Weeks
2020-07-03 21:59 ` Guenter Roeck
2020-07-15 21:41   ` Rob Herring
2020-07-15 22:25     ` Guenter Roeck
2020-07-15 21:39 ` Rob Herring
2020-07-15 22:19   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).