HiYes, it indeed is. However afaik it is not possible to pass instance-specific
2022. szeptember 12., hétfő 14:53 keltezéssel, Armin Wolf írta:
Registering multiple instances of a battery hook is beneficialI think this is already possible by embedding the acpi_battery_hook
for drivers which can be instantiated multiple times. Until now,
this would mean that such a driver would have to implement some
logic to manage battery hooks.
Extend the battery hook handling instead.
object inside the driver's device specific data object, no?
Regards,
Barnabás Pőcze
[...]