hwmon: (pmbus/xdpe12284) fix typo in compatible strings
authorJohan Hovold <johan@kernel.org>
Wed, 12 Feb 2020 09:24:26 +0000 (10:24 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 12 Feb 2020 20:43:01 +0000 (12:43 -0800)
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>
Link: https://lore.kernel.org/r/20200212092426.24012-1-johan@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/xdpe12284.c

index 3d47806..ecd9b65 100644 (file)
@@ -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);