[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b148ff3e-a5b2-4826-9228-73a1cc6caf5c@roeck-us.net>
Date: Sun, 31 Aug 2025 15:30:49 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Flaviu Nistor <flaviu.nistor@...il.com>
Cc: Jean Delvare <jdelvare@...e.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, linux-hwmon@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] hwmon: tmp102: Add support for label
On Mon, Aug 25, 2025 at 09:02:44PM +0300, Flaviu Nistor wrote:
> Add support for label sysfs attribute similar to other hwmon devices.
> This is particularly useful for systems with multiple sensors on the
> same board, where identifying individual sensors is much easier since
> labels can be defined via device tree.
>
> Signed-off-by: Flaviu Nistor <flaviu.nistor@...il.com>
CHECK: Alignment should match open parenthesis
+static int tmp102_read_string(struct device *dev, enum hwmon_sensor_types type,
+ u32 attr, int channel, const char **str)
Fixed up and applied.
Guenter
Powered by blists - more mailing lists