summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2016-10-09 20:07:00 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-10-10 12:24:10 +0300
commit621a99933c5cb509d832bb98e6118761461a1f8a (patch)
treec8371c6a0873f1e4a2e121f422b5b50af1b88a56 /include/drm
parent9a47dba1f93148acb4e74f07716df7fad989c2e0 (diff)
downloadlinux-621a99933c5cb509d832bb98e6118761461a1f8a.tar.xz
drm: use the right function name in documentation
There is no late_unregister(), it looks like the comment meant late_register(). Also fix a typo while at it. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1476032820-3275-1-git-send-email-notasas@gmail.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_connector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 287a610f464e..ac9d7d8e0e43 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -356,7 +356,7 @@ struct drm_connector_funcs {
*
* This optional hook should be used to unregister the additional
* userspace interfaces attached to the connector from
- * late_unregister(). It is called from drm_connector_unregister(),
+ * late_register(). It is called from drm_connector_unregister(),
* early in the driver unload sequence to disable userspace access
* before data structures are torndown.
*/
@@ -376,7 +376,7 @@ struct drm_connector_funcs {
* @atomic_duplicate_state:
*
* Duplicate the current atomic state for this connector and return it.
- * The core and helpers gurantee that any atomic state duplicated with
+ * The core and helpers guarantee that any atomic state duplicated with
* this hook and still owned by the caller (i.e. not transferred to the
* driver by calling ->atomic_commit() from struct
* &drm_mode_config_funcs) will be cleaned up by calling the