mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/7] staging: gpib: Removing typedefs
@ 2025-04-08 23:25 Michael Rubin
  2025-04-08 23:25 ` [PATCH v1 1/7] staging: gpib: Removing typedef gpib_event_queue Michael Rubin
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Michael Rubin @ 2025-04-08 23:25 UTC (permalink / raw)
  To: gregkh, dpenkler; +Cc: linux-staging, linux-kernel, Michael Rubin

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-08 23:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 23:25 [PATCH v1 0/7] staging: gpib: Removing typedefs Michael Rubin
2025-04-08 23:25 ` [PATCH v1 1/7] staging: gpib: Removing typedef gpib_event_queue Michael Rubin
2025-04-08 23:25 ` [PATCH v1 2/7] staging: gpib: Removing gpib_interface_list_t Michael Rubin
2025-04-08 23:25 ` [PATCH v1 3/7] staging: gpib: Removing gpib_event_t typedef Michael Rubin
2025-04-08 23:25 ` [PATCH v1 4/7] staging: gpib: Removing typedef gpib_status_queue Michael Rubin
2025-04-08 23:25 ` [PATCH v1 5/7] staging: gpib: Removing typedef of status_byte Michael Rubin
2025-04-08 23:25 ` [PATCH v1 6/7] staging: gpib: Removing typedef gpib_descriptor_t Michael Rubin
2025-04-08 23:25 ` [PATCH v1 7/7] staging: gpib: Remove typedef gpib_file_private_t Michael Rubin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®