RE: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-10 Thread Mario.Limonciello
kernel@vger.kernel.org>; platform-driver-...@vger.kernel.org; > Andy Lutomirski <l...@kernel.org>; quasi...@google.com; r...@rjwysocki.net; > mj...@google.com; h...@lst.de; Greg KH <g...@kroah.com> > Subject: Re: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI &g

RE: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-10 Thread Mario.Limonciello
m; r...@rjwysocki.net; > mj...@google.com; h...@lst.de; Greg KH > Subject: Re: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI > descriptor into it's own driver > > On Monday 09 October 2017 17:51:43 Mario Limonciello wrote: > > +bool dell_wmi_get_interface_v

Re: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-10 Thread Pali Rohár
On Monday 09 October 2017 17:51:43 Mario Limonciello wrote: > +bool dell_wmi_get_interface_version(u32 *version) > +{ > + struct descriptor_priv *priv; > + > + priv = list_first_entry_or_null(_list, > + struct descriptor_priv, > +

Re: [PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-10 Thread Pali Rohár
On Monday 09 October 2017 17:51:43 Mario Limonciello wrote: > +bool dell_wmi_get_interface_version(u32 *version) > +{ > + struct descriptor_priv *priv; > + > + priv = list_first_entry_or_null(_list, > + struct descriptor_priv, > +

[PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-09 Thread Mario Limonciello
All communication on individual GUIDs should occur in separate drivers. Allowing a driver to communicate with the bus to another GUID is just a hack that discourages drivers to adopt the bus model. The information found from the WMI descriptor driver is now exported for use by other drivers.

[PATCH v6 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-09 Thread Mario Limonciello
All communication on individual GUIDs should occur in separate drivers. Allowing a driver to communicate with the bus to another GUID is just a hack that discourages drivers to adopt the bus model. The information found from the WMI descriptor driver is now exported for use by other drivers.