[PATCH 1/1] misc: trivial: Remove undesired double space from struct definition

From: Lee Jones
Date: Mon Dec 23 2024 - 10:19:24 EST


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@xxxxxxxxxx>
---
include/linux/miscdevice.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index c0fea6ca5076..69e110c2b86a 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -76,7 +76,7 @@
struct device;
struct attribute_group;

-struct miscdevice {
+struct miscdevice {
int minor;
const char *name;
const struct file_operations *fops;
--
2.47.1.613.gc27f4b7a9f-goog