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

Replacing typedef of status_byte_t with struct gpib_status_byte to adhere to
Linux coding 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-6-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