mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
staging: vme: vme_user.c Spelling corrections
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>
This commit is contained in:
parent
536e973cd7
commit
1fede02031
1 changed files with 3 additions and 3 deletions
|
@ -661,7 +661,7 @@ static int vme_user_probe(struct vme_dev *vdev)
|
||||||
}
|
}
|
||||||
class_destroy(vme_user_sysfs_class);
|
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;
|
i = MASTER_MAX + 1;
|
||||||
err_master:
|
err_master:
|
||||||
while (i > MASTER_MINOR) {
|
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;
|
i = SLAVE_MAX + 1;
|
||||||
err_slave:
|
err_slave:
|
||||||
|
@ -716,7 +716,7 @@ static int vme_user_remove(struct vme_dev *dev)
|
||||||
/* Unregister device driver */
|
/* Unregister device driver */
|
||||||
cdev_del(vme_user_cdev);
|
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);
|
unregister_chrdev_region(MKDEV(VME_MAJOR, 0), VME_DEVS);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue