]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: ni_usb: struct gpib_interface
authorMichael Rubin <matchstick@neverthere.org>
Thu, 17 Apr 2025 00:32:43 +0000 (00:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2025 09:12:55 +0000 (11:12 +0200)
commit4f7c2391168f657209b7321a889a9e6428892708
treecec660ccc737d40051bf85ba5b5c31e5a77874e6
parent355582c2388f04e9fcaef484956abe67d19909c7
staging: gpib: ni_usb: struct gpib_interface

Using Linux code style for struct gpib_interface.

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.

Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Link: https://lore.kernel.org/r/20250417003246.84445-16-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/ni_usb/ni_usb_gpib.c