linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] [STYLE]staging:vme:vme_user.c Correct spelling mistakes
@ 2016-11-14  1:28 Walt Feasel
  2016-11-14 22:44 ` Martyn Welch
  0 siblings, 1 reply; 2+ messages in thread
From: Walt Feasel @ 2016-11-14  1:28 UTC (permalink / raw)
  To: martyn; +Cc: manohar.vanga, gregkh, devel, linux-kernel, Walt Feasel

Make spelling corrections for 'correctly' and
'unregister'.

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---

Removed the previously submitted U.S. spelling for
'initialise' to keep the correct U.K. spelling.

 drivers/staging/vme/devices/vme_user.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
index 5dd430f..2753fb2 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -661,7 +661,7 @@ static int vme_user_probe(struct vme_dev *vdev)
 	}
 	class_destroy(vme_user_sysfs_class);
 
-	/* Ensure counter set correcty to unalloc all master windows */
+	/* Ensure counter set correctly to unalloc all master windows */
 	i = MASTER_MAX + 1;
 err_master:
 	while (i > MASTER_MINOR) {
@@ -671,7 +671,7 @@ static int vme_user_probe(struct vme_dev *vdev)
 	}
 
 	/*
-	 * Ensure counter set correcty to unalloc all slave windows and buffers
+	 * Ensure counter set correctly to unalloc all slave windows and buffers
 	 */
 	i = SLAVE_MAX + 1;
 err_slave:
@@ -716,7 +716,7 @@ static int vme_user_remove(struct vme_dev *dev)
 	/* Unregister device driver */
 	cdev_del(vme_user_cdev);
 
-	/* Unregiser the major and minor device numbers */
+	/* Unregister the major and minor device numbers */
 	unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
 
 	return 0;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] [STYLE]staging:vme:vme_user.c Correct spelling mistakes
  2016-11-14  1:28 [PATCH v2] [STYLE]staging:vme:vme_user.c Correct spelling mistakes Walt Feasel
@ 2016-11-14 22:44 ` Martyn Welch
  0 siblings, 0 replies; 2+ messages in thread
From: Martyn Welch @ 2016-11-14 22:44 UTC (permalink / raw)
  To: Walt Feasel; +Cc: manohar.vanga, gregkh, devel, linux-kernel

On Sun, Nov 13, 2016 at 08:28:34PM -0500, Walt Feasel wrote:
> Make spelling corrections for 'correctly' and
> 'unregister'.
> 
> Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Acked-by: Martyn Welch <martyn@welchs.me.uk>
> ---
> 
> Removed the previously submitted U.S. spelling for
> 'initialise' to keep the correct U.K. spelling.
> 
>  drivers/staging/vme/devices/vme_user.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
> index 5dd430f..2753fb2 100644
> --- a/drivers/staging/vme/devices/vme_user.c
> +++ b/drivers/staging/vme/devices/vme_user.c
> @@ -661,7 +661,7 @@ static int vme_user_probe(struct vme_dev *vdev)
>  	}
>  	class_destroy(vme_user_sysfs_class);
>  
> -	/* Ensure counter set correcty to unalloc all master windows */
> +	/* Ensure counter set correctly to unalloc all master windows */
>  	i = MASTER_MAX + 1;
>  err_master:
>  	while (i > MASTER_MINOR) {
> @@ -671,7 +671,7 @@ static int vme_user_probe(struct vme_dev *vdev)
>  	}
>  
>  	/*
> -	 * Ensure counter set correcty to unalloc all slave windows and buffers
> +	 * Ensure counter set correctly to unalloc all slave windows and buffers
>  	 */
>  	i = SLAVE_MAX + 1;
>  err_slave:
> @@ -716,7 +716,7 @@ static int vme_user_remove(struct vme_dev *dev)
>  	/* Unregister device driver */
>  	cdev_del(vme_user_cdev);
>  
> -	/* Unregiser the major and minor device numbers */
> +	/* Unregister the major and minor device numbers */
>  	unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
>  
>  	return 0;
> -- 
> 2.1.4
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-14 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14  1:28 [PATCH v2] [STYLE]staging:vme:vme_user.c Correct spelling mistakes Walt Feasel
2016-11-14 22:44 ` Martyn Welch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).