[Intel-gfx] [PATCH 13/15] drm/doc: Fix typos for early_unregister doc

Daniel Vetter daniel at ffwll.ch
Thu Jan 26 09:49:26 UTC 2017


On Wed, Jan 25, 2017 at 07:26:55AM +0100, Daniel Vetter wrote:
> There's no late_unregister. While at it switch to the new canonical
> reference style.
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

Applied with Chris' irc-ack.
-Daniel

> ---
>  include/drm/drm_crtc.h    | 2 +-
>  include/drm/drm_encoder.h | 2 +-
>  include/drm/drm_plane.h   | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> index 496324d3416b..bef18a1fa36e 100644
> --- a/include/drm/drm_crtc.h
> +++ b/include/drm/drm_crtc.h
> @@ -560,7 +560,7 @@ struct drm_crtc_funcs {
>  	 *
>  	 * This optional hook should be used to unregister the additional
>  	 * userspace interfaces attached to the crtc from
> -	 * late_unregister(). It is called from drm_dev_unregister(),
> +	 * @late_register. It is called from drm_dev_unregister(),
>  	 * early in the driver unload sequence to disable userspace access
>  	 * before data structures are torndown.
>  	 */
> diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h
> index 5f58f65344e0..8d8245ec0181 100644
> --- a/include/drm/drm_encoder.h
> +++ b/include/drm/drm_encoder.h
> @@ -75,7 +75,7 @@ struct drm_encoder_funcs {
>  	 *
>  	 * This optional hook should be used to unregister the additional
>  	 * userspace interfaces attached to the encoder from
> -	 * late_unregister(). It is called from drm_dev_unregister(),
> +	 * @late_register. It is called from drm_dev_unregister(),
>  	 * early in the driver unload sequence to disable userspace access
>  	 * before data structures are torndown.
>  	 */
> diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
> index 525a3340c1b2..953c174bf8a1 100644
> --- a/include/drm/drm_plane.h
> +++ b/include/drm/drm_plane.h
> @@ -372,7 +372,7 @@ struct drm_plane_funcs {
>  	 *
>  	 * This optional hook should be used to unregister the additional
>  	 * userspace interfaces attached to the plane from
> -	 * late_unregister(). It is called from drm_dev_unregister(),
> +	 * @late_register. It is called from drm_dev_unregister(),
>  	 * early in the driver unload sequence to disable userspace access
>  	 * before data structures are torndown.
>  	 */
> -- 
> 2.11.0
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list