On Sun, 08 Sep 2024 20:53:36 +0200, Hans de Goede wrote:
power_supply_property_is_writeable() gets called from the is_visible() callback for the sysfs attributes of power_supply class devices and for the sysfs attributes of power_supply core instantiated hwmon class devices.
These sysfs attributes get registered by the device_add() respectively power_supply_add_hwmon_sysfs() calls in power_supply_register().
[...]
Applied, thanks!
[1/2] power: supply: Drop use_cnt check from power_supply_property_is_writeable() commit: 78f281e5bdeb6476fab97a2c3fcece1094b42aaf [2/2] power: supply: hwmon: Fix missing temp1_max_alarm attribute commit: e50a57d16f897e45de1112eb6478577b197fab52
Best regards,