All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel M. Weeks" <dan@danweeks.net>
To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] dt-bindings: hwmon: Correct vendor for mcp980x
Date: Fri, 3 Jul 2020 11:37:48 -0400	[thread overview]
Message-ID: <20200703153748.GA16156@dev.danweeks.net> (raw)

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

             reply	other threads:[~2020-07-03 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03 15:37 Daniel M. Weeks [this message]
2020-07-03 21:59 ` [PATCH] dt-bindings: hwmon: Correct vendor for mcp980x 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200703153748.GA16156@dev.danweeks.net \
    --to=dan@danweeks.net \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.