From 4a2b4d93e8b3bf986ccdaa128354dddc3b8da7e0 Mon Sep 17 00:00:00 2001 From: Michael Rubin Date: Wed, 19 Mar 2025 21:59:24 +0000 Subject: [PATCH] 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 Acked-By: Dave Penkler Link: https://lore.kernel.org/r/20250319215924.19387-21-matchstick@neverthere.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gpib/include/gpib_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gpib/include/gpib_types.h b/drivers/staging/gpib/include/gpib_types.h index 515fdb91d150b..31b35f2cb2e18 100644 --- a/drivers/staging/gpib/include/gpib_types.h +++ b/drivers/staging/gpib/include/gpib_types.h @@ -23,7 +23,7 @@ #include typedef struct gpib_interface_struct gpib_interface_t; -typedef struct gpib_board gpib_board_t; +struct gpib_board; /* config parameters that are only used by driver attach functions */ typedef struct { -- 2.47.2