]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: struct typing for gpib_board
authorMichael Rubin <matchstick@neverthere.org>
Wed, 19 Mar 2025 21:59:05 +0000 (21:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 13:57:24 +0000 (06:57 -0700)
commit8982069fa8e2fb5759515134a2caed60cc5ba0f4
tree4e84617ebc3bb19c0cbae44e51b67e3f33e69d92
parenta8e233d0747fa0838a77280f79b8a744da96e56a
staging: gpib: struct typing for gpib_board

Using Linux code style for gpib_board struct in .h to allow drivers to migrate.

Adhering to Linux code style.

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>
Acked-By: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250319215924.19387-2-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/include/gpib_types.h