]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: Removing typedef gpib_descriptor_t
authorMichael Rubin <matchstick@neverthere.org>
Tue, 8 Apr 2025 23:25:34 +0000 (23:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:43:14 +0000 (16:43 +0200)
commit2a523a9e1bd5a5387c1bd7e5aa5ac6ff1734a987
tree60bc5f6ecf49ae2c44910ec5302c94a622ea9014
parent551a1041a2424f0a9f76325c0df8a8c3aaaaf0c2
staging: gpib: Removing typedef gpib_descriptor_t

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