Skip to contentSkip to conversation

hwmon: (pmbus/xdpe12284): fix typo in compatible strings

PATCH Applied Johan Hovold 2 participants 2 messages Feb 12, 2020 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (pmbus/xdpe12284): fix typo in compatible strings

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 <[email protected]>
---
 drivers/hwmon/pmbus/xdpe12284.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/pmbus/xdpe12284.c +2 -2
index 3d47806ff4d3..ecd9b65627ec 100644
@@ -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);
Signature · 1 line
2.24.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Johan Hovold

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 <[email protected]>

Applied.

Thanks,
Guenter

Quoted 19 lines
---
 drivers/hwmon/pmbus/xdpe12284.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/pmbus/xdpe12284.c +2 -2
index 3d47806ff4d3..ecd9b65627ec 100644
@@ -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);