Skip to content

Commit 4a2b4d9

Browse files
Michael Rubingregkh
authored andcommitted
staging: gpib: Removing typedef for gpib_board
Removing typedef as per Linux code style. Adhering to Linux code style. In general, a pointer, or a struct that has elements that can reasonably be directly accessed should never be a typedef. Signed-off-by: Michael Rubin <[email protected]> Acked-By: Dave Penkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 50af7be commit 4a2b4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/gpib/include/gpib_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <linux/interrupt.h>
2424

2525
typedef struct gpib_interface_struct gpib_interface_t;
26-
typedef struct gpib_board gpib_board_t;
26+
struct gpib_board;
2727

2828
/* config parameters that are only used by driver attach functions */
2929
typedef struct {

0 commit comments

Comments
 (0)