Messages in this thread | | | Date | Sat, 20 Apr 2024 14:46:17 -0700 | From | Guenter Roeck <> | Subject | Re: [PATCH 2/6] hwmon: Use device_show_string() helper for sysfs attributes |
| |
On Sat, Apr 20, 2024 at 10:00:02PM +0200, Lukas Wunner wrote: > Deduplicate sysfs ->show() callbacks which expose a string at a static > memory location. Use the newly introduced device_show_string() helper > in the driver core instead by declaring those sysfs attributes with > DEVICE_STRING_ATTR_RO(). > > No functional change intended. > > Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Guenter
| |