Commit 0ff3c366 authored by Jamal Shareef's avatar Jamal Shareef Committed by Greg Kroah-Hartman
Browse files

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: default avatarJamal Shareef <jamal.k.shareef@gmail.com>
Link: https://lore.kernel.org/r/0b0f85060b38e6195fe2d58989621e7b09eafe51.1572994235.git.jamal.k.shareef@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 29ebf64f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};

+3 −3
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ enum vchi_service_option {
};

//Callback used by all services / bulk transfers
typedef void (*VCHI_CALLBACK_T)(void *callback_param, //my service local param
typedef void (*vchi_callback)(void *callback_param, //my service local param
			      enum vchi_callback_reason reason,
			      void *handle); //for transmitting msg's only

+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ struct shim_service {

	struct vchiu_queue queue;

	VCHI_CALLBACK_T callback;
	vchi_callback callback;
	void *callback_param;
};