Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1520719

[PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes

From Walt Feasel <waltfeasel@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes
Date 2016-11-14 00:20 +0100
Message-ID <sDce6-70i-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Make spelling corrections for 'initialize', 'correctly'
and 'unregister'

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
---
 drivers/staging/vme/devices/vme_user.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
index 5dd430f..1d01c18 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -534,7 +534,7 @@ static int vme_user_probe(struct vme_dev *vdev)
 	}
 	vme_user_bridge = vdev;
 
-	/* Initialise descriptors */
+	/* Initialize descriptors */
 	for (i = 0; i < VME_DEVS; i++) {
 		image[i].kern_buf = NULL;
 		image[i].pci_buf = 0;
@@ -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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes Walt Feasel <waltfeasel@gmail.com> - 2016-11-14 00:20 +0100
  Re: [PATCH] [STYLE]staging:vme:vme_user.c Correct spelling mistakes Randy Dunlap <rdunlap@infradead.org> - 2016-11-14 01:50 +0100

csiph-web