diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-05-30 17:20:14 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-05-30 18:05:19 +0200 |
commit | 52a2c70c3ec555e670a34dd1ab958986451d2dd2 (patch) | |
tree | 7c2e9bd56173d19c6769c808900b1c33d4c8775d /drivers/hwmon/shtc1.c | |
parent | hwmon: (intel-m10-bmc-hwmon) Fix multiplier for N6000 board power sensor (diff) | |
download | linux-52a2c70c3ec555e670a34dd1ab958986451d2dd2.tar.xz linux-52a2c70c3ec555e670a34dd1ab958986451d2dd2.zip |
hwmon: (shtc1) Fix property misspelling
The property name is "sensirion,low-precision", not
"sensicon,low-precision".
Cc: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Fixes: be7373b60df5 ("hwmon: shtc1: add support for device tree bindings")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/hwmon/shtc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c index 1f96e94967ee..439dd3dba5fc 100644 --- a/drivers/hwmon/shtc1.c +++ b/drivers/hwmon/shtc1.c @@ -238,7 +238,7 @@ static int shtc1_probe(struct i2c_client *client) if (np) { data->setup.blocking_io = of_property_read_bool(np, "sensirion,blocking-io"); - data->setup.high_precision = !of_property_read_bool(np, "sensicon,low-precision"); + data->setup.high_precision = !of_property_read_bool(np, "sensirion,low-precision"); } else { if (client->dev.platform_data) data->setup = *(struct shtc1_platform_data *)dev->platform_data; |