mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
29
cocci/04-misc-renames.cocci
Normal file
29
cocci/04-misc-renames.cocci
Normal file
@@ -0,0 +1,29 @@
|
||||
@@
|
||||
typedef FpImageDeviceState;
|
||||
@@
|
||||
(
|
||||
-FP_IMG_COLORS_INVERTED
|
||||
+FP_IMAGE_COLORS_INVERTED
|
||||
|
|
||||
-FP_IMG_H_FLIPPED
|
||||
+FP_IMAGE_H_FLIPPED
|
||||
|
|
||||
-FP_IMG_V_FLIPPED
|
||||
+FP_IMAGE_V_FLIPPED
|
||||
|
|
||||
-FP_VERIFY_RETRY_TOO_SHORT
|
||||
+FP_DEVICE_RETRY_TOO_SHORT
|
||||
|
|
||||
-FP_VERIFY_RETRY_CENTER_FINGER
|
||||
+FP_DEVICE_RETRY_CENTER_FINGER
|
||||
|
|
||||
-FP_VERIFY_RETRY
|
||||
+FP_DEVICE_RETRY
|
||||
)
|
||||
|
||||
@@
|
||||
@@
|
||||
(
|
||||
-enum fp_imgdev_state
|
||||
+FpImageDeviceState
|
||||
)
|
||||
Reference in New Issue
Block a user