[PATCH v4 00/35] Remove .notify callback in acpi_device_ops

2023-06-01 Thread Michal Wilczynski
Currently drivers support ACPI event handlers by defining .notify callback in acpi_device_ops. This solution is suboptimal as event handler installer installs intermediary function acpi_notify_device as a handler in every driver. Also this approach requires extra variable 'flags' for specifying eve

Re: [PATCH v4 00/35] Remove .notify callback in acpi_device_ops

2023-06-03 Thread andy . shevchenko
Thu, Jun 01, 2023 at 03:16:55PM +0200, Michal Wilczynski kirjoitti: > Currently drivers support ACPI event handlers by defining .notify > callback in acpi_device_ops. This solution is suboptimal as event > handler installer installs intermediary function acpi_notify_device as a > handler in every d

Re: [PATCH v4 00/35] Remove .notify callback in acpi_device_ops

2023-06-05 Thread Wilczynski, Michal
On 6/3/2023 1:03 PM, andy.shevche...@gmail.com wrote: > Thu, Jun 01, 2023 at 03:16:55PM +0200, Michal Wilczynski kirjoitti: >> Currently drivers support ACPI event handlers by defining .notify >> callback in acpi_device_ops. This solution is suboptimal as event >> handler installer installs inte

Re: [PATCH v4 00/35] Remove .notify callback in acpi_device_ops

2023-06-05 Thread Andy Shevchenko
On Mon, Jun 5, 2023 at 11:39 AM Wilczynski, Michal wrote: > On 6/3/2023 1:03 PM, andy.shevche...@gmail.com wrote: > > Thu, Jun 01, 2023 at 03:16:55PM +0200, Michal Wilczynski kirjoitti: > >> Currently drivers support ACPI event handlers by defining .notify > >> callback in acpi_device_ops. This so