[PATCH 05/64] drm/connector: Mention the cleanup after drm_connector_init
Maxime Ripard
maxime at cerno.tech
Mon Jun 20 14:40:45 UTC 2022
On Mon, Jun 20, 2022 at 04:19:43PM +0200, Thomas Zimmermann wrote:
> Hi
>
> Am 20.06.22 um 14:18 schrieb Maxime Ripard:
> > + * At driver unload time the driver's &drm_connector_funcs.destroy hook
> > + * should call drm_connector_unregister(), drm_connector_cleanup() and
> > + * kfree() the connector structure.
>
> This sentence sounds odd.
Yeah, I was using kfree as a verb which is probably where the weirdness comes from.
Would that be better:
At driver unload time the driver's &drm_connector_funcs.destroy hook should call
drm_connector_unregister() and free the connector structure.
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220620/ccd091e5/attachment.sig>
More information about the dri-devel
mailing list