[RFC PATCH v4 1/1] platform/x86/tuxedo: Add virtual LampArray for TUXEDO NB04 devices
Pavel Machek
pavel at ucw.cz
Wed Oct 2 09:55:35 UTC 2024
Hi!
> > +static struct wmi_driver tuxedo_nb04_wmi_ab_driver = {
> > + .driver = {
> > + .name = "tuxedo_nb04_wmi_ab",
> > + .probe_type = PROBE_PREFER_ASYNCHRONOUS,
> > + },
> > + .id_table = tuxedo_nb04_wmi_ab_device_ids,
> > + .probe = probe,
> > + .remove = remove,
> > + .no_singleton = true,
> > +};
> > +
> > +// We don't know if the WMI API is stable and how unique the GUID is for this ODM. To be on the safe
> > +// side we therefore only run this driver on tested devices defined by this list.
>
> Please limit comment length to 80 chars and since you need multiple lines
> here anyway, use the usual /* */ multiline comment formatting.
This driver needs to be split into generic part + hw specific part,
and reasonable kernel/user API needs to be defined for the generic
part. It is really too soon to tweak comment lengths.
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20241002/a831d0f5/attachment.sig>
More information about the dri-devel
mailing list