staging: vme: vme_user.c Spelling corrections
authorWalt Feasel <waltfeasel@gmail.com>
Fri, 18 Nov 2016 17:14:07 +0000 (12:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Nov 2016 13:21:58 +0000 (14:21 +0100)
Make spelling corrections for 'correctly' and
'unregister'

Signed-off-by: Walt Feasel <waltfeasel@gmail.com>
Acked-by: Martyn Welch <martyn at welchs.e.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/devices/vme_user.c

index 5dd430f8f92133282869dc0324d1d257807ea7a8..2753fb21c5969d740f4af1b2f5ef8cfcf8d50e92 100644 (file)
@@ -661,7 +661,7 @@ err_sysfs:
        }
        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 @@ err_master:
        }
 
        /*
-        * 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;