[PATCH v1 0/7] staging: gpib: Removing typedefs
From: Michael Rubin
Date: Tue Apr 08 2025 - 19:25:52 EST
Removing various typedefs to adhere to Linux code style.
Reported by checkpatch.pl
In general, a pointer, or a struct that has elements that can reasonably be
directly accessed should never be a typedef.
* Patch 1: Removing gpib_event_queue_t for struct gpib_event_queue
* Patch 2: Removing gpib_interface_list_t for struct gpib_interface_list
* Patch 3: Removing gpib_event_t for struct gpib_event
* Patch 4: Removing gpib_status_queue_t for struct gpib_status_queue
* Patch 5: Removing status_byte_t for struct gpib_status_bye
* Patch 6: Removing gpib_descriptor_t for struct gpib_descriptor
* Patch 7: Removing gpib_file_private_t for struct gpib_file_private
Michael Rubin (7):
staging: gpib: Removing typedef gpib_event_queue
staging: gpib: Removing gpib_interface_list_t
staging: gpib: Removing gpib_event_t typedef
staging: gpib: Removing typedef gpib_status_queue
staging: gpib: Removing typedef of status_byte
staging: gpib: Removing typedef gpib_descriptor_t
staging: gpib: Remove typedef gpib_file_private_t
drivers/staging/gpib/common/gpib_os.c | 155 +++++++++++-----------
drivers/staging/gpib/common/iblib.c | 12 +-
drivers/staging/gpib/common/ibsys.h | 11 +-
drivers/staging/gpib/include/gpibP.h | 4 +-
drivers/staging/gpib/include/gpib_proto.h | 8 +-
drivers/staging/gpib/include/gpib_types.h | 38 +++---
6 files changed, 116 insertions(+), 112 deletions(-)
--
2.43.0