Home
last modified time | relevance | path

Searched hist:"991 d679951f0df27db170036080746b84115e1e7" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/hwmon/pmbus/
H A Dpmbus.hdiff 991d679951f0df27db170036080746b84115e1e7 Mon Apr 15 23:44:05 CEST 2019 krzysztof.adamski@nokia.com <krzysztof.adamski@nokia.com> pmbus: support for custom sysfs attributes

This patch makes it possible to pass custom struct attribute_group array
via the pmbus_driver_info struct so that those can be added to the
attribute groups passed to hwmon_device_register_with_groups().

This makes it possible to register custom sysfs attributes by PMBUS
drivers similar to how you can do this with most other busses/classes.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
H A Dpmbus_core.cdiff 991d679951f0df27db170036080746b84115e1e7 Mon Apr 15 23:44:05 CEST 2019 krzysztof.adamski@nokia.com <krzysztof.adamski@nokia.com> pmbus: support for custom sysfs attributes

This patch makes it possible to pass custom struct attribute_group array
via the pmbus_driver_info struct so that those can be added to the
attribute groups passed to hwmon_device_register_with_groups().

This makes it possible to register custom sysfs attributes by PMBUS
drivers similar to how you can do this with most other busses/classes.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>