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 <matchstick@neverthere.org> Acked-By: Dave Penkler <dpenkler@gmail.com> Link: https://lore.kernel.org/r/20250319215924.19387-21-matchstick@neverthere.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 50af7be commit 4a2b4d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)