Linux-Hwmon Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] hwmon: (pmbus/xdpe12284): fix typo in compatible strings
@ 2020-02-12  9:24 Johan Hovold
  2020-02-12 20:43 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Hovold @ 2020-02-12  9:24 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Jean Delvare, linux-hwmon, linux-kernel, devicetree,
	Johan Hovold, Vadim Pasternak

Make sure that the driver compatible strings matches the binding by
removing the space between the manufacturer and model.

Fixes: aaafb7c8eb1c ("hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers")
Cc: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/hwmon/pmbus/xdpe12284.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/hwmon/pmbus/xdpe12284.c b/drivers/hwmon/pmbus/xdpe12284.c
index 3d47806ff4d3..ecd9b65627ec 100644
--- a/drivers/hwmon/pmbus/xdpe12284.c
+++ b/drivers/hwmon/pmbus/xdpe12284.c
@@ -94,8 +94,8 @@ static const struct i2c_device_id xdpe122_id[] = {
 MODULE_DEVICE_TABLE(i2c, xdpe122_id);
 
 static const struct of_device_id __maybe_unused xdpe122_of_match[] = {
-	{.compatible = "infineon, xdpe12254"},
-	{.compatible = "infineon, xdpe12284"},
+	{.compatible = "infineon,xdpe12254"},
+	{.compatible = "infineon,xdpe12284"},
 	{}
 };
 MODULE_DEVICE_TABLE(of, xdpe122_of_match);
-- 
2.24.1


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

* Re: [PATCH] hwmon: (pmbus/xdpe12284): fix typo in compatible strings
  2020-02-12  9:24 [PATCH] hwmon: (pmbus/xdpe12284): fix typo in compatible strings Johan Hovold
@ 2020-02-12 20:43 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-02-12 20:43 UTC (permalink / raw)
  To: Johan Hovold
  Cc: Jean Delvare, linux-hwmon, linux-kernel, devicetree, Vadim Pasternak

On Wed, Feb 12, 2020 at 10:24:26AM +0100, Johan Hovold wrote:
> Make sure that the driver compatible strings matches the binding by
> removing the space between the manufacturer and model.
> 
> Fixes: aaafb7c8eb1c ("hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers")
> Cc: Vadim Pasternak <vadimp@mellanox.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/pmbus/xdpe12284.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/hwmon/pmbus/xdpe12284.c b/drivers/hwmon/pmbus/xdpe12284.c
> index 3d47806ff4d3..ecd9b65627ec 100644
> --- a/drivers/hwmon/pmbus/xdpe12284.c
> +++ b/drivers/hwmon/pmbus/xdpe12284.c
> @@ -94,8 +94,8 @@ static const struct i2c_device_id xdpe122_id[] = {
>  MODULE_DEVICE_TABLE(i2c, xdpe122_id);
>  
>  static const struct of_device_id __maybe_unused xdpe122_of_match[] = {
> -	{.compatible = "infineon, xdpe12254"},
> -	{.compatible = "infineon, xdpe12284"},
> +	{.compatible = "infineon,xdpe12254"},
> +	{.compatible = "infineon,xdpe12284"},
>  	{}
>  };
>  MODULE_DEVICE_TABLE(of, xdpe122_of_match);

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12  9:24 [PATCH] hwmon: (pmbus/xdpe12284): fix typo in compatible strings Johan Hovold
2020-02-12 20:43 ` Guenter Roeck

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org
	public-inbox-index linux-hwmon

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git