cocci: Add spatch/coccinelle patches for driver porting

This is an impartial set of transformations to help port the drivers to
the new interfaces.
This commit is contained in:
Benjamin Berg
2019-07-03 23:51:58 +02:00
parent 4640e3f5b0
commit 6ec11a2b26
13 changed files with 1356 additions and 0 deletions

19
cocci/all.cocci Normal file
View File

@@ -0,0 +1,19 @@
# First some cleanups; some of these are required for the later stuff to work
00-misc-cleanups.cocci
01-endpoint.cocci
04-misc-renames.cocci
03-function-renames.cocci
02-type-renames.cocci
# GObject and "driver" defintion
10-driver.cocci
#
07-libusb-fill.cocci
05-libusb-1.cocci
06-libusb-callback-1.cocci
08-ssm.cocci
99-insert-checking-code.cocci