mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 11:31:18 +08:00
Fix typo, grammar and remove duplicated words
Replaced 'a' with 'an' since a vowel sound is after.
This commit is contained in:
parent
844beed5d7
commit
5ca9b642a4
|
@ -5,7 +5,7 @@
|
||||||
* from:
|
* from:
|
||||||
* https://github.com/wendlers/rpi-kmod-samples
|
* https://github.com/wendlers/rpi-kmod-samples
|
||||||
*
|
*
|
||||||
* Press one button to turn on a LED and another to turn it off
|
* Press one button to turn on an LED and another to turn it off
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
|
@ -100,7 +100,7 @@ static int device_release(struct inode *inode, struct file *file)
|
||||||
atomic_set(&already_open, CDEV_NOT_USED);
|
atomic_set(&already_open, CDEV_NOT_USED);
|
||||||
|
|
||||||
/* Decrement the usage count, or else once you opened the file, you will
|
/* Decrement the usage count, or else once you opened the file, you will
|
||||||
* never get get rid of the module.
|
* never get rid of the module.
|
||||||
*/
|
*/
|
||||||
module_put(THIS_MODULE);
|
module_put(THIS_MODULE);
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
||||||
/* Macro DECLARE_TASKLET_OLD exists for compatibiity.
|
/* Macro DECLARE_TASKLET_OLD exists for compatibility.
|
||||||
* See https://lwn.net/Articles/830964/
|
* See https://lwn.net/Articles/830964/
|
||||||
*/
|
*/
|
||||||
#ifndef DECLARE_TASKLET_OLD
|
#ifndef DECLARE_TASKLET_OLD
|
||||||
|
|
|
@ -50,7 +50,7 @@ static void print_string(char *str)
|
||||||
*
|
*
|
||||||
* This is why text files are different between Unix and MS Windows.
|
* This is why text files are different between Unix and MS Windows.
|
||||||
* In CP/M and derivatives, like MS-DOS and MS Windows, the ASCII
|
* In CP/M and derivatives, like MS-DOS and MS Windows, the ASCII
|
||||||
* standard was strictly adhered to, and therefore a newline requirs
|
* standard was strictly adhered to, and therefore a newline requires
|
||||||
* both a LF and a CR.
|
* both a LF and a CR.
|
||||||
*/
|
*/
|
||||||
(ttyops->write)(my_tty, "\015\012", 2);
|
(ttyops->write)(my_tty, "\015\012", 2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user