summaryrefslogtreecommitdiff
path: root/drivers/staging/gpib
diff options
context:
space:
mode:
authorMichael Rubin <matchstick@neverthere.org>2025-04-17 00:32:37 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-17 11:12:54 +0200
commit57b580be50aeda8fb0836468aa4c486b30415f42 (patch)
treefbd808a03aaafdc4cc777437ef27d5a2eb1e4e8f /drivers/staging/gpib
parent326ecce53e489a7b610b047da0b0f82266f82195 (diff)
downloadlinux-next-57b580be50aeda8fb0836468aa4c486b30415f42.tar.gz
linux-next-57b580be50aeda8fb0836468aa4c486b30415f42.zip
staging: gpib: gpio: struct gpib_interface
Using Linux code style for struct gpib_interface. 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/20250417003246.84445-10-matchstick@neverthere.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gpib')
-rw-r--r--drivers/staging/gpib/gpio/gpib_bitbang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gpib/gpio/gpib_bitbang.c b/drivers/staging/gpib/gpio/gpib_bitbang.c
index a43e871c21ff..0da718389182 100644
--- a/drivers/staging/gpib/gpio/gpib_bitbang.c
+++ b/drivers/staging/gpib/gpio/gpib_bitbang.c
@@ -1308,7 +1308,7 @@ bb_attach_out:
return retval;
}
-static gpib_interface_t bb_interface = {
+static struct gpib_interface bb_interface = {
.name = NAME,
.attach = bb_attach,
.detach = bb_detach,