Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Johan Hovold and committed by
Guenter Roeck
205447fa cf2b012c

+2 -2
+2 -2
drivers/hwmon/pmbus/xdpe12284.c
··· 94 94 MODULE_DEVICE_TABLE(i2c, xdpe122_id); 95 95 96 96 static const struct of_device_id __maybe_unused xdpe122_of_match[] = { 97 - {.compatible = "infineon, xdpe12254"}, 98 - {.compatible = "infineon, xdpe12284"}, 97 + {.compatible = "infineon,xdpe12254"}, 98 + {.compatible = "infineon,xdpe12284"}, 99 99 {} 100 100 }; 101 101 MODULE_DEVICE_TABLE(of, xdpe122_of_match);