projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21e97d3
)
drm/connector: Document destroy hook in drmm init functions
author
José Expósito
<jose.exposito89@gmail.com>
Sun, 4 Aug 2024 17:05:52 +0000
(19:05 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 5 Aug 2024 18:02:40 +0000
(20:02 +0200)
Document that the drm_connector_funcs.destroy hook must be NULL in
drmm_connector_init() and drmm_connector_hdmi_init().
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240804170551.33971-2-jose.exposito89@gmail.com
drivers/gpu/drm/drm_connector.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_connector.c
b/drivers/gpu/drm/drm_connector.c
index
b4f4d2f
..
80e239a
100644
(file)
--- a/
drivers/gpu/drm/drm_connector.c
+++ b/
drivers/gpu/drm/drm_connector.c
@@
-426,6
+426,8
@@
static void drm_connector_cleanup_action(struct drm_device *dev,
*
* The connector structure should be allocated with drmm_kzalloc().
*
+ * The @drm_connector_funcs.destroy hook must be NULL.
+ *
* Returns:
* Zero on success, error code on failure.
*/
@@
-474,6
+476,8
@@
EXPORT_SYMBOL(drmm_connector_init);
*
* The connector structure should be allocated with drmm_kzalloc().
*
+ * The @drm_connector_funcs.destroy hook must be NULL.
+ *
* Returns:
* Zero on success, error code on failure.
*/