Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: android: Avoid using camelcase in binder.h

This changes the following:

1: BinderDriverReturnProtocol -> binder_driver_return_protocol
2: BinderDriverCommandProtocol -> binder_driver_return_protocol

These enums are not currently used, but still generate noise in checkpatch.

Well, did. They don't now :)

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Cruz Julian Bishop and committed by
Greg Kroah-Hartman
0f5afdd2 94b84e45

+2 -2
+2 -2
drivers/staging/android/binder.h
··· 163 163 void *cookie; 164 164 }; 165 165 166 - enum BinderDriverReturnProtocol { 166 + enum binder_driver_return_protocol { 167 167 BR_ERROR = _IOR('r', 0, int), 168 168 /* 169 169 * int: error code ··· 251 251 */ 252 252 }; 253 253 254 - enum BinderDriverCommandProtocol { 254 + enum binder_driver_command_protocol { 255 255 BC_TRANSACTION = _IOW('c', 0, struct binder_transaction_data), 256 256 BC_REPLY = _IOW('c', 1, struct binder_transaction_data), 257 257 /*