Skip to content

Commit

Permalink
staging: android: Avoid using camelcase in binder.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cruz Julian Bishop authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 94b84e4 commit 0f5afdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/android/binder.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ struct binder_pri_ptr_cookie {
void *cookie;
};

enum BinderDriverReturnProtocol {
enum binder_driver_return_protocol {
BR_ERROR = _IOR('r', 0, int),
/*
* int: error code
Expand Down Expand Up @@ -251,7 +251,7 @@ enum BinderDriverReturnProtocol {
*/
};

enum BinderDriverCommandProtocol {
enum binder_driver_command_protocol {
BC_TRANSACTION = _IOW('c', 0, struct binder_transaction_data),
BC_REPLY = _IOW('c', 1, struct binder_transaction_data),
/*
Expand Down

0 comments on commit 0f5afdd

Please sign in to comment.