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 driver. Also this approach requires extra variable > 'flags' for specifying event types that the driver want to subscribe to. > Additionally this is a pre-work required to align acpi_driver with > platform_driver and eventually replace acpi_driver with platform_driver. > > Remove .notify callback from the acpi_device_ops. Replace it with each > driver installing and removing it's event handlers. Somehow this thread is screwed up in a sense of linking messages. Even on the archives there are rather individual patches. Please, be sure you are always use --thread when formatting it. Yet you have a possibility to Cc different patches to the different mailing lists and people. -- With Best Regards, Andy Shevchenko