]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Remove typedef gpib_file_private_t
authorMichael Rubin <matchstick@neverthere.org>
Tue, 8 Apr 2025 23:25:35 +0000 (23:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:43:14 +0000 (16:43 +0200)
commitc93577b9d4533af463ca9dc58385bb3d14164955
tree57d2c1b2a6d9572cbae8498316491346582aac20
parent2a523a9e1bd5a5387c1bd7e5aa5ac6ff1734a987
staging: gpib: Remove typedef gpib_file_private_t

Removing gpib_file_private_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-8-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