staging: vc04_services: Rename VCHIQ_CALLBACK_T to vchiq_callback
authorJamal Shareef <jamal.k.shareef@gmail.com>
Tue, 5 Nov 2019 22:55:27 +0000 (14:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 15:23:59 +0000 (16:23 +0100)
Renames VCHIQ_CALLBACK_T to vchiq_callback to match kernel code style.

Signed-off-by: Jamal Shareef <jamal.k.shareef@gmail.com>
Link: https://lore.kernel.org/r/6abe37fb39f896b257d7b370e1c2ad861ed8b675.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h

index 91cfb1c..a6f17b9 100644 (file)
@@ -63,19 +63,19 @@ struct vchiq_element {
 
 typedef unsigned int VCHIQ_SERVICE_HANDLE_T;
 
-typedef enum vchiq_status (*VCHIQ_CALLBACK_T)(enum vchiq_reason,
-                                          struct vchiq_header *,
-                                          VCHIQ_SERVICE_HANDLE_T, void *);
+typedef enum vchiq_status (*vchiq_callback)(enum vchiq_reason,
+                                           struct vchiq_header *,
+                                           VCHIQ_SERVICE_HANDLE_T, void *);
 
 struct vchiq_service_base {
        int fourcc;
-       VCHIQ_CALLBACK_T callback;
+       vchiq_callback callback;
        void *userdata;
 };
 
 struct vchiq_service_params {
        int fourcc;
-       VCHIQ_CALLBACK_T callback;
+       vchiq_callback callback;
        void *userdata;
        short version;       /* Increment for non-trivial changes */
        short version_min;   /* Update for incompatible changes */