]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Removing typedef gpib_interface_t
authorMichael Rubin <matchstick@neverthere.org>
Thu, 17 Apr 2025 00:32:46 +0000 (00:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2025 09:12:55 +0000 (11:12 +0200)
commit7567dfdd242aa77b9f7724b0be0f675f163eca91
treee6492fc1c50fd805e6f9be43fe19cabd0f8c6c58
parent124248c48d413491cfb86632ec2f8639fa4c4d49
staging: gpib: Removing typedef gpib_interface_t

Removing gpib_interface_t 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.

Signed-off-by: Michael Rubin <matchstick@neverthere.org>
Link: https://lore.kernel.org/r/20250417003246.84445-19-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/include/gpib_types.h