diff options
author | Greg Kroah-Hartman <[email protected]> | 2023-03-29 08:01:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-03-31 11:04:10 +0200 |
commit | 6332a6ced62ac0c9ad7617be34aa2ee4543a52ab (patch) | |
tree | c3918bd8be6a52aac3bca7956b773510a67dfa63 /scripts/bpf_doc.py | |
parent | 9467af61bf6a92bb0e2f783fcfc379f943fa4e0d (diff) |
media: pvrusb2: clean up unneeded complexity in pvrusb2 class logic
The pvrusb2 driver struct class logic was dynamically creating a class
that should have just been static as it did not do anything special and
was only a wrapper around a stock "struct class" implementation. Clean
this all up by making a static struct class and modifying the code to
correctly reference it.
By doing so, lots of unneeded lines of code were removed, and #ifdef
logic was cleaned up so that the .c files are not cluttered up with
extra complexity following the proper kernel coding style.
Cc: Mike Isely <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: [email protected]
Reviewed-by: Hans Verkuil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions