Skip to content

Commit 52a2c70

Browse files
committed
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: be7373b ("hwmon: shtc1: add support for device tree bindings") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 027a44f commit 52a2c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/shtc1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static int shtc1_probe(struct i2c_client *client)
238238

239239
if (np) {
240240
data->setup.blocking_io = of_property_read_bool(np, "sensirion,blocking-io");
241-
data->setup.high_precision = !of_property_read_bool(np, "sensicon,low-precision");
241+
data->setup.high_precision = !of_property_read_bool(np, "sensirion,low-precision");
242242
} else {
243243
if (client->dev.platform_data)
244244
data->setup = *(struct shtc1_platform_data *)dev->platform_data;

0 commit comments

Comments
 (0)