]> Git Repo - linux.git/commitdiff
drm: use the right function name in documentation
authorGrazvydas Ignotas <[email protected]>
Sun, 9 Oct 2016 17:07:00 +0000 (20:07 +0300)
committerDaniel Vetter <[email protected]>
Mon, 10 Oct 2016 09:24:10 +0000 (11:24 +0200)
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
include/drm/drm_connector.h

index 287a610f464e1b791d7e915ef086db0313e69595..ac9d7d8e0e43a807e9fc9a0b66de5f26b49d3348 100644 (file)
@@ -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
This page took 0.055867 seconds and 4 git commands to generate.