Re: [PATCH v10 02/14] platform/x86: alienware-wmi: Add WMI Drivers

From: Andy Shevchenko
Date: Tue Feb 11 2025 - 13:52:35 EST


On Tue, Feb 11, 2025 at 12:46:40PM -0500, Kurt Borja wrote:
> On Tue Feb 11, 2025 at 11:30 AM -05, Andy Shevchenko wrote:
> > On Fri, Feb 07, 2025 at 10:45:58AM -0500, Kurt Borja wrote:

...

> >> +static int __init alienware_wmax_wmi_init(void)
> >> +{
> >> + return wmi_driver_register(&alienware_wmax_wmi_driver);
> >> +}
> >> +
> >> +static void __exit alienware_wmax_wmi_exit(void)
> >> +{
> >> + wmi_driver_unregister(&alienware_wmax_wmi_driver);
> >> +}
> >
> > I believe we have module_wmi_driver() which can be used after the split
> > (haven't checked those patches yet).
>
> This module has two WMI drivers, so I believe this can't be used.

Even after the split?

--
With Best Regards,
Andy Shevchenko