[PATCH 2/5] [media] media-device: Fix a comment

2016-03-19 Thread Mauro Carvalho Chehab
The comment is for the wrong function. Fix it.

Signed-off-by: Mauro Carvalho Chehab 
---
 include/media/media-device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/media/media-device.h b/include/media/media-device.h
index 0c2de97181f3..ca3871b853ba 100644
--- a/include/media/media-device.h
+++ b/include/media/media-device.h
@@ -490,7 +490,7 @@ int __must_check __media_device_register(struct 
media_device *mdev,
 #define media_device_register(mdev) __media_device_register(mdev, THIS_MODULE)
 
 /**
- * __media_device_unregister() - Unegisters a media device element
+ *_media_device_unregister() - Unegisters a media device element
  *
  * @mdev:  pointer to struct &media_device
  *
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/5] [media] media-device: Fix a comment

2016-03-19 Thread Javier Martinez Canillas
Hello Mauro,

On Wed, Mar 16, 2016 at 9:04 AM, Mauro Carvalho Chehab
 wrote:
> The comment is for the wrong function. Fix it.
>
> Signed-off-by: Mauro Carvalho Chehab 
> ---
>  include/media/media-device.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/media/media-device.h b/include/media/media-device.h
> index 0c2de97181f3..ca3871b853ba 100644
> --- a/include/media/media-device.h
> +++ b/include/media/media-device.h
> @@ -490,7 +490,7 @@ int __must_check __media_device_register(struct 
> media_device *mdev,
>  #define media_device_register(mdev) __media_device_register(mdev, 
> THIS_MODULE)
>
>  /**
> - * __media_device_unregister() - Unegisters a media device element
> + *_media_device_unregister() - Unegisters a media device element
>   *

s/_media_device_unregister()/media_device_unregister()

and while being there, you can also fix the "Unegisters" typo.

After those changes:

Reviewed-by: Javier Martinez Canillas 

Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html