staging: vc04_services: Rename callback VCHI_CALLBACK_T to vchi_callback

Renames callback function pointer typedef VCHI_CALLBACK_T to
vchi_callback to better match kernel code style.

Signed-off-by: Jamal Shareef <jamal.k.shareef@gmail.com>
Link: https://lore.kernel.org/r/0b0f85060b38e6195fe2d58989621e7b09eafe51.1572994235.git.jamal.k.shareef@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jamal Shareef 2019-11-05 14:55:20 -08:00 committed by Greg Kroah-Hartman
parent 29ebf64f74
commit 0ff3c366a7
3 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ struct vchi_held_msg {
struct service_creation {
struct vchi_version version;
int32_t service_id;
VCHI_CALLBACK_T callback;
vchi_callback callback;
void *callback_param;
};

View File

@ -86,9 +86,9 @@ enum vchi_service_option {
};
//Callback used by all services / bulk transfers
typedef void (*VCHI_CALLBACK_T)(void *callback_param, //my service local param
enum vchi_callback_reason reason,
void *handle); //for transmitting msg's only
typedef void (*vchi_callback)(void *callback_param, //my service local param
enum vchi_callback_reason reason,
void *handle); //for transmitting msg's only
/*
* Define vector struct for scatter-gather (vector) operations

View File

@ -16,7 +16,7 @@ struct shim_service {
struct vchiu_queue queue;
VCHI_CALLBACK_T callback;
vchi_callback callback;
void *callback_param;
};