aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-02-12 10:24:26 +0100
committerGuenter Roeck <linux@roeck-us.net>2020-02-12 12:43:01 -0800
commit205447fa9e0a44cc42a74788eb2f6c96f91d5cd6 (patch)
tree287ac87dc20860713dfaaa6ada047531c2c848e5 /drivers/hwmon
parenthwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions. (diff)
downloadlinux-dev-205447fa9e0a44cc42a74788eb2f6c96f91d5cd6.tar.xz
linux-dev-205447fa9e0a44cc42a74788eb2f6c96f91d5cd6.zip
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/pmbus/xdpe12284.c4
1 files 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);