[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56a3a6fd-604c-4e67-81d6-52a12c6c866e@roeck-us.net>
Date: Sat, 17 Jun 2023 09:14:18 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: JuenKit Yip <JuenKit_Yip@...mail.com>
Cc: jdelvare@...e.com, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 6/6] hwmon: (sht3x) complement sysfs interface for
sts3x
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@...mail.com>
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
> };
>
Powered by blists - more mailing lists