From 5ca9b642a42ae1b4809e2fcd8a166910cff1fb93 Mon Sep 17 00:00:00 2001 From: Steven Lung <1030steven@gmail.com> Date: Mon, 7 Mar 2022 16:56:13 +0800 Subject: [PATCH] Fix typo, grammar and remove duplicated words Replaced 'a' with 'an' since a vowel sound is after. --- examples/bottomhalf.c | 2 +- examples/chardev.c | 2 +- examples/example_tasklet.c | 2 +- examples/print_string.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/bottomhalf.c b/examples/bottomhalf.c index 585c141..91be30e 100644 --- a/examples/bottomhalf.c +++ b/examples/bottomhalf.c @@ -5,7 +5,7 @@ * from: * 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 diff --git a/examples/chardev.c b/examples/chardev.c index c6312e2..c2f0858 100644 --- a/examples/chardev.c +++ b/examples/chardev.c @@ -100,7 +100,7 @@ static int device_release(struct inode *inode, struct file *file) atomic_set(&already_open, CDEV_NOT_USED); /* 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); diff --git a/examples/example_tasklet.c b/examples/example_tasklet.c index ee3985c..49c825e 100644 --- a/examples/example_tasklet.c +++ b/examples/example_tasklet.c @@ -6,7 +6,7 @@ #include #include -/* Macro DECLARE_TASKLET_OLD exists for compatibiity. +/* Macro DECLARE_TASKLET_OLD exists for compatibility. * See https://lwn.net/Articles/830964/ */ #ifndef DECLARE_TASKLET_OLD diff --git a/examples/print_string.c b/examples/print_string.c index 312939b..8c0cf4a 100644 --- a/examples/print_string.c +++ b/examples/print_string.c @@ -50,7 +50,7 @@ static void print_string(char *str) * * 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 - * 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. */ (ttyops->write)(my_tty, "\015\012", 2);