]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Removing gpib_event_t typedef
authorMichael Rubin <matchstick@neverthere.org>
Tue, 8 Apr 2025 23:25:31 +0000 (23:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:42:40 +0000 (16:42 +0200)
commit8901501d389830f7e79da8de2fa159f44802c235
treede06cd85df9628f8c0b2e54df93de6afafd82b42
parent0d01cafdb167f0c723419a05bb38b17c9804b2f1
staging: gpib: Removing gpib_event_t typedef

Removing gpib_event_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/20250408232535.187528-4-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/common/gpib_os.c
drivers/staging/gpib/include/gpib_types.h