* [PATCH] drm: use the right function name in documentation
@ 2016-10-09 17:07 Grazvydas Ignotas
2016-10-10 9:24 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Grazvydas Ignotas @ 2016-10-09 17:07 UTC (permalink / raw)
To: dri-devel
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>
---
include/drm/drm_connector.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 51a15de..43c5cd7 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -345,7 +345,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.
*/
@@ -365,7 +365,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
--
2.7.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm: use the right function name in documentation
2016-10-09 17:07 [PATCH] drm: use the right function name in documentation Grazvydas Ignotas
@ 2016-10-10 9:24 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2016-10-10 9:24 UTC (permalink / raw)
To: Grazvydas Ignotas; +Cc: dri-devel
On Sun, Oct 09, 2016 at 08:07:00PM +0300, Grazvydas Ignotas wrote:
> 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>
Applied to drm-misc, thanks.
-Daniel
> ---
> include/drm/drm_connector.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
> index 51a15de..43c5cd7 100644
> --- a/include/drm/drm_connector.h
> +++ b/include/drm/drm_connector.h
> @@ -345,7 +345,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.
> */
> @@ -365,7 +365,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
> --
> 2.7.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-10 9:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-09 17:07 [PATCH] drm: use the right function name in documentation Grazvydas Ignotas
2016-10-10 9:24 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox