diff mbox

drm: fix a word repetition in a comment

Message ID 1418106244-5624-1-git-send-email-martin.peres@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Martin Peres Dec. 9, 2014, 6:24 a.m. UTC
Spotted while reviewing the DRM changes in Linux 3.18 for LinuxFR.

CC: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Martin Peres <martin.peres@free.fr>
---
 drivers/gpu/drm/drm_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Deucher Dec. 9, 2014, 2:55 p.m. UTC | #1
On Tue, Dec 9, 2014 at 1:24 AM, Martin Peres <martin.peres@free.fr> wrote:
> Spotted while reviewing the DRM changes in Linux 3.18 for LinuxFR.
>
> CC: Daniel Vetter <daniel.vetter@ffwll.ch>
> Signed-off-by: Martin Peres <martin.peres@free.fr>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/drm_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
> index 4a44f89..90ad762 100644
> --- a/drivers/gpu/drm/drm_crtc.c
> +++ b/drivers/gpu/drm/drm_crtc.c
> @@ -3454,7 +3454,7 @@ void drm_fb_release(struct drm_file *priv)
>
>         /*
>          * When the file gets released that means no one else can access the fb
> -        * list any more, so no need to grab fpriv->fbs_lock. And we need to to
> +        * list any more, so no need to grab fpriv->fbs_lock. And we need to
>          * avoid upsetting lockdep since the universal cursor code adds a
>          * framebuffer while holding mutex locks.
>          *
> --
> 2.1.3
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 4a44f89..90ad762 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -3454,7 +3454,7 @@  void drm_fb_release(struct drm_file *priv)
 
 	/*
 	 * When the file gets released that means no one else can access the fb
-	 * list any more, so no need to grab fpriv->fbs_lock. And we need to to
+	 * list any more, so no need to grab fpriv->fbs_lock. And we need to
 	 * avoid upsetting lockdep since the universal cursor code adds a
 	 * framebuffer while holding mutex locks.
 	 *