Re: [PATCH] dibs: change dibs_class to a const struct

From: Jori Koolstra

Date: Tue Mar 03 2026 - 08:29:26 EST


Hi Alexandra,

>
> Thank you for the patch Jori.
> Would you mind adding a link to explain the "as the driver core now allows"?
> Maybe
> Link: https://lore.kernel.org/all/2023040248-outrage-obsolete-5a9a@gregkh/
>

Yes, see this one indeed:
https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/

>
> For my education: How could I have noticed that class_create() call has been deprecated?
> Is that marked somewhere somehow?
>

I think this is for Greg to answer, but my guess would be that you maybe could
not have. I don't know if there is a formal deprecation procedure.

This is just cleanup work that has been laying around for a
while and some beginners like me have progressed this to gain kernel patching
experience. I see that this was already being worked on in 2023. I am now
removing the last references to class_create() in drivers so that the API
can finally be retired.

Thanks,
Jori.