Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
This commit is contained in:
@@ -758,7 +758,7 @@ static void joydev_remove_chrdev(struct joydev *joydev)
|
||||
}
|
||||
|
||||
/*
|
||||
* Mark device non-existant. This disables writes, ioctls and
|
||||
* Mark device non-existent. This disables writes, ioctls and
|
||||
* prevents new users from opening the device. Already posted
|
||||
* blocking reads will stay, however new ones will fail.
|
||||
*/
|
||||
@@ -777,7 +777,7 @@ static void joydev_cleanup(struct joydev *joydev)
|
||||
joydev_hangup(joydev);
|
||||
joydev_remove_chrdev(joydev);
|
||||
|
||||
/* joydev is marked dead so noone else accesses joydev->open */
|
||||
/* joydev is marked dead so no one else accesses joydev->open */
|
||||
if (joydev->open)
|
||||
input_close_device(handle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user