mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 00/18] staging: gpib: Removing typedef gpib_board_config_t
@ 2025-04-08 22:36 Michael Rubin
  2025-04-08 22:36 ` [PATCH v1 01/18] staing: gpib: struct typing for gpib_board_config Michael Rubin
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Michael Rubin @ 2025-04-08 22:36 UTC (permalink / raw)
  To: gregkh, dpenkler, linux-staging, linux-kernel; +Cc: Michael Rubin

Using Linux code style for struct gpib_board_config.

Adhering 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: Adding "struct gpib_board_config"

* Patch 2 - Patch 17: Replacing gpib_board_config_t with
            "struct gpib_board_config"

* Patch 18: Removing typedef for gpib_board_config_t.

Michael Rubin (18):
  staing: gpib: struct typing for gpib_board_config
  staging: gpib: agilent_82350b: gpib_board_config
  staging: gpib: agilent_82357a: gpib_board_config
  staging: gpib: cb7210: struct gpib_board_config
  staging: gpib: cec: struct gpib_board_config
  staging: gpib: common: struct gpib_board_config
  staging: gpib: eastwood: struct gpib_board_config
  staging: gpib: fmh: struct gpib_board_config
  staging: gpib: gpio: struct gpib_board_config
  staging: gpib: hp_82335: struct gpib_board_config
  staging: gpib: hp_82341: struct gpib_board_config
  staging: gpib: gpibP: struct gpib_board_config
  staging: gpib: ines: struct gpib_board_config
  staging: gpib: lpvo_usb: struct gpib_board_config
  staging: gpib: ni_usb: struct gpib_board_config
  staging: gpib: pc2: struct gpib_board_config
  staging: gpib: tnt4882: struct gpib_board_config
  staging: gpib: Removing typedef gpib_board_config

 .../gpib/agilent_82350b/agilent_82350b.c      |  8 +++---
 .../gpib/agilent_82357a/agilent_82357a.c      |  4 +--
 drivers/staging/gpib/cb7210/cb7210.c          | 12 ++++----
 drivers/staging/gpib/cec/cec_gpib.c           |  4 +--
 drivers/staging/gpib/common/gpib_os.c         | 28 +++++++++----------
 drivers/staging/gpib/eastwood/fluke_gpib.c    | 12 ++++----
 drivers/staging/gpib/fmh_gpib/fmh_gpib.c      | 27 ++++++++++--------
 drivers/staging/gpib/gpio/gpib_bitbang.c      |  2 +-
 drivers/staging/gpib/hp_82335/hp82335.c       |  4 +--
 drivers/staging/gpib/hp_82341/hp_82341.c      |  7 +++--
 drivers/staging/gpib/include/gpibP.h          |  4 +--
 drivers/staging/gpib/include/gpib_types.h     |  8 +++---
 drivers/staging/gpib/ines/ines_gpib.c         | 23 +++++++--------
 .../gpib/lpvo_usb_gpib/lpvo_usb_gpib.c        |  2 +-
 drivers/staging/gpib/ni_usb/ni_usb_gpib.c     |  4 +--
 drivers/staging/gpib/pc2/pc2_gpib.c           | 12 ++++----
 drivers/staging/gpib/tnt4882/tnt4882_gpib.c   | 12 ++++----
 17 files changed, 91 insertions(+), 82 deletions(-)

-- 
2.43.0


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

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

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-08 22:36 [PATCH v1 00/18] staging: gpib: Removing typedef gpib_board_config_t Michael Rubin
2025-04-08 22:36 ` [PATCH v1 01/18] staing: gpib: struct typing for gpib_board_config Michael Rubin
2025-04-08 22:36 ` [PATCH v1 02/18] staging: gpib: agilent_82350b: gpib_board_config Michael Rubin
2025-04-08 22:36 ` [PATCH v1 03/18] staging: gpib: agilent_82357a: gpib_board_config Michael Rubin
2025-04-08 22:36 ` [PATCH v1 04/18] staging: gpib: cb7210: struct gpib_board_config Michael Rubin
2025-04-08 22:36 ` [PATCH v1 05/18] staging: gpib: cec: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 06/18] staging: gpib: common: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 07/18] staging: gpib: eastwood: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 08/18] staging: gpib: fmh: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 09/18] staging: gpib: gpio: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 10/18] staging: gpib: hp_82335: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 11/18] staging: gpib: hp_82341: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 12/18] staging: gpib: gpibP: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 13/18] staging: gpib: ines: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 14/18] staging: gpib: lpvo_usb: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 15/18] staging: gpib: ni_usb: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 16/18] staging: gpib: pc2: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 17/18] staging: gpib: tnt4882: " Michael Rubin
2025-04-08 22:36 ` [PATCH v1 18/18] staging: gpib: Removing typedef gpib_board_config 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®