On Sat, Jun 17, 2023 at 12:00:17AM +0800, JuenKit Yip wrote: > Compared to sht3x, sts3x has the similiar functions and operations s/similiar/similar/ > but it has no humidity sensor. > > Signed-off-by: JuenKit Yip <JuenKit_Yip@xxxxxxxxxxx> Applied to hwmon-next after fixing the above. Please run checkpatch on your patches; it would have told you. Thanks, Guenter > --- > 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 > }; >