[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wY3UHtenNt5tmQSMtoDLmzNxvJ7B56SLwlhguYfg6rqC71dDDCYypvSqvS0SUhRJwsel8wBEy3yeS8rDlJCOii24Llo0XKU34IcSn5WNwg8=@protonmail.com>
Date: Mon, 12 Sep 2022 16:42:16 +0000
From: Barnabás Pőcze <pobrn@...tonmail.com>
To: Armin Wolf <W_Armin@....de>
Cc: hdegoede@...hat.com, markgross@...nel.org, rafael@...nel.org,
lenb@...nel.org, hmh@....eng.br, matan@...alib.org,
corentin.chary@...il.com, jeremy@...tem76.com,
productdev@...tem76.com, platform-driver-x86@...r.kernel.org,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/5] ACPI: battery: Allow battery hooks to be registered multiple times.
Hi
2022. szeptember 12., hétfő 14:53 keltezéssel, Armin Wolf írta:
> Registering multiple instances of a battery hook is beneficial
> 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.
I think this is already possible by embedding the acpi_battery_hook
object inside the driver's device specific data object, no?
Regards,
Barnabás Pőcze
> [...]
Powered by blists - more mailing lists