staging: gpib: Using struct gpib_ppoll_config_ioctl`
authorMichael Rubin <matchstick@neverthere.org>
Wed, 9 Apr 2025 05:58:54 +0000 (05:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 14:46:09 +0000 (16:46 +0200)
commit419a3433f03cb1bedbdb2e14ad7a3eee4deed4bf
treef187f46e4ce7fb8128ecc1d752592c98580476aa
parent4c2170378cb426e02d398e1beabeb18b806df6a9
staging: gpib: Using struct gpib_ppoll_config_ioctl`

Using Linux code style for 'struct gpib_ppoll_config_ioctl' to remove typedef.

Adhering 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/20250409055903.321438-13-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/common/gpib_os.c
drivers/staging/gpib/uapi/gpib_ioctl.h