]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
misc: trivial: Remove undesired double space from struct definition
authorLee Jones <lee@kernel.org>
Mon, 23 Dec 2024 15:18:37 +0000 (15:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Dec 2024 18:14:28 +0000 (19:14 +0100)
When one is too lazy to use an LSP to conduct look-ups on struct
definitions, one might use the ever useful `struct <name> {` search
string.  However this doesn't work with `struct miscdevice  {` because
of a stray double space.  Assuming that this wasn't intentional, let's
simply remove it.

Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20241223151843.472645-1-lee@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/miscdevice.h

index c0fea6ca507681215b2eda389ab9af0ce4aa52d6..69e110c2b86a9b16c1637778a25e1eebb3fd0111 100644 (file)
@@ -76,7 +76,7 @@
 struct device;
 struct attribute_group;
 
-struct miscdevice  {
+struct miscdevice {
        int minor;
        const char *name;
        const struct file_operations *fops;