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

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

index 4392dad..bb2645b 100644 (file)
@@ -2281,7 +2281,7 @@ struct vchiq_service *
 vchiq_add_service_internal(struct vchiq_state *state,
                           const struct vchiq_service_params *params,
                           int srvstate, VCHIQ_INSTANCE_T instance,
-                          VCHIQ_USERDATA_TERM_T userdata_term)
+                          vchiq_userdata_term userdata_term)
 {
        struct vchiq_service *service;
        struct vchiq_service **pservice = NULL;
index d8ecc2f..d56ee1b 100644 (file)
@@ -207,7 +207,7 @@ enum vchiq_bulk_dir {
        VCHIQ_BULK_RECEIVE
 };
 
-typedef void (*VCHIQ_USERDATA_TERM_T)(void *userdata);
+typedef void (*vchiq_userdata_term)(void *userdata);
 
 struct vchiq_bulk {
        short mode;
@@ -253,7 +253,7 @@ struct vchiq_service {
        VCHIQ_SERVICE_HANDLE_T handle;
        unsigned int ref_count;
        int srvstate;
-       VCHIQ_USERDATA_TERM_T userdata_term;
+       vchiq_userdata_term userdata_term;
        unsigned int localport;
        unsigned int remoteport;
        int public_fourcc;
@@ -501,7 +501,7 @@ extern struct vchiq_service *
 vchiq_add_service_internal(struct vchiq_state *state,
                           const struct vchiq_service_params *params,
                           int srvstate, VCHIQ_INSTANCE_T instance,
-                          VCHIQ_USERDATA_TERM_T userdata_term);
+                          vchiq_userdata_term userdata_term);
 
 extern enum vchiq_status
 vchiq_open_service_internal(struct vchiq_service *service, int client_id);