staging: gpib: struct typing for gpib_interface
authorMichael Rubin <matchstick@neverthere.org>
Thu, 17 Apr 2025 00:32:29 +0000 (00:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2025 09:12:53 +0000 (11:12 +0200)
"Having the word "_struct" in the name of the struct doesn't add any
information so rename "struct gpib_interface_struct" to
"struct gpib_interface".

Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Link: https://lore.kernel.org/r/20250417003246.84445-2-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/include/gpib_types.h

index 71af9e808a76536269615ca1c4c7deb30e035e0e..16aaade310fdf24e3d426ed894745f5fefe1da5c 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/timer.h>
 #include <linux/interrupt.h>
 
-typedef struct gpib_interface_struct gpib_interface_t;
+typedef struct gpib_interface gpib_interface_t;
 struct gpib_board;
 
 /* config parameters that are only used by driver attach functions */
@@ -51,7 +51,7 @@ struct gpib_board_config {
        char *serial_number;
 };
 
-struct gpib_interface_struct {
+struct gpib_interface {
        /* name of board */
        char *name;
        /* attach() initializes board and allocates resources */