diff options
| author | Michael Rubin <matchstick@neverthere.org> | 2025-04-17 00:32:33 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-17 11:12:53 +0200 |
| commit | 276da96d9f48183bbc27041f882ed341d79b0eee (patch) | |
| tree | f20dbfb120fedfe5a72d6e680dc2dddfa59df1f8 | |
| parent | a988518b0272343ea8645727599203b2460c8c8c (diff) | |
| download | linux-stable-276da96d9f48183bbc27041f882ed341d79b0eee.tar.gz linux-stable-276da96d9f48183bbc27041f882ed341d79b0eee.zip | |
staging: gpib: cec: 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-6-matchstick@neverthere.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/gpib/cec/cec_gpib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gpib/cec/cec_gpib.c b/drivers/staging/gpib/cec/cec_gpib.c index 1b7af871ca5b..737d78736ea5 100644 --- a/drivers/staging/gpib/cec/cec_gpib.c +++ b/drivers/staging/gpib/cec/cec_gpib.c @@ -188,7 +188,7 @@ static void cec_return_to_local(struct gpib_board *board) nec7210_return_to_local(board, &priv->nec7210_priv); } -static gpib_interface_t cec_pci_interface = { +static struct gpib_interface cec_pci_interface = { .name = "cec_pci", .attach = cec_pci_attach, .detach = cec_pci_detach, |
