Skip to contentSkip to conversation

drivers: usb: Remove unnecessary whitespace in function pointer declaration

PATCH In review Jonathan Bergh 2 participants 2 messages Sep 30, 2023 – Oct 1, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: usb: Remove unnecessary whitespace in function pointer declaration

Fixed a formatting issue flagged by checkpatch where unnecessary whitespace was included before the parameter list in the function pointer declaration.

---
 drivers/usb/c67x00/c67x00.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/c67x00/c67x00.h +1 -1
index a4456d0fffa9..3673357818b4 100644
@@ -193,7 +193,7 @@ struct c67x00_sie {
 	/* Entries to be used by the subdrivers */
 	spinlock_t lock;	/* protect this structure */
 	void *private_data;
-	void (*irq) (struct c67x00_sie *sie, u16 int_status, u16 msg);
+	void (*irq)(struct c67x00_sie *sie, u16 int_status, u16 msg);
 
 	/* Read only: */
 	struct c67x00_device *dev;
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 14 lines · Jonathan Bergh

Fixed a formatting issue flagged by checkpatch where unnecessary whitespace was included before the parameter list in the function pointer declaration.

---
 drivers/usb/c67x00/c67x00.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/c67x00/c67x00.h +0 -0
index a4456d0fffa9..3673357818b4 100644

drivers/usb/c67x00/c67x00.h struct c67x00_sie { · line 196

Quoted 5 lines
drivers/usb/c67x00/c67x00.h +1 -1
@@ -193,7 +193,7 @@ struct c67x00_sie {
 	/* Entries to be used by the subdrivers */
 	spinlock_t lock;	/* protect this structure */
 	void *private_data;
-	void (*irq) (struct c67x00_sie *sie, u16 int_status, u16 msg);
+	void (*irq)(struct c67x00_sie *sie, u16 int_status, u16 msg);

Same comment as on the other patches, subject line is incorrect, and why do this?

thanks,

greg k-h