Skip to contentSkip to conversation

misc: trivial: Remove undesired double space from struct definition

PATCH New Lee Jones 1 participant 1 message Dec 23, 2024 Char and misc drivers

lore
Share & tools
lore

Lee Jones

author
#0 lore raw

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

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.

---
 include/linux/miscdevice.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/miscdevice.h +1 -1
index c0fea6ca5076..69e110c2b86a 100644
@@ -76,7 +76,7 @@
 struct device;
 struct attribute_group;
 
-struct miscdevice  {
+struct miscdevice {
 	int minor;
 	const char *name;
 	const struct file_operations *fops;
Signature · 1 line
2.47.1.613.gc27f4b7a9f-goog