Compared to sht3x, sts3x has the similiar functions and operations but it has no humidity sensor. Signed-off-by: JuenKit Yip <JuenKit_Yip@xxxxxxxxxxx> --- drivers/hwmon/sht3x.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/hwmon/sht3x.c b/drivers/hwmon/sht3x.c index adfc11c12..ae384ced7 100644 --- a/drivers/hwmon/sht3x.c +++ b/drivers/hwmon/sht3x.c @@ -707,6 +707,14 @@ static struct attribute *sht3x_attrs[] = { static struct attribute *sts3x_attrs[] = { &sensor_dev_attr_temp1_input.dev_attr.attr, + &sensor_dev_attr_temp1_max.dev_attr.attr, + &sensor_dev_attr_temp1_max_hyst.dev_attr.attr, + &sensor_dev_attr_temp1_min.dev_attr.attr, + &sensor_dev_attr_temp1_min_hyst.dev_attr.attr, + &sensor_dev_attr_temp1_alarm.dev_attr.attr, + &sensor_dev_attr_heater_enable.dev_attr.attr, + &sensor_dev_attr_update_interval.dev_attr.attr, + &sensor_dev_attr_repeatability.dev_attr.attr, NULL }; -- 2.30.2