staging: android: binder.c: binder_ioctl() cleanup
authorRiley Andrews <riandrews@google.com>
Mon, 12 Jan 2015 22:01:03 +0000 (14:01 -0800)
committerRiley Andrews <riandrews@google.com>
Tue, 13 Jan 2015 22:43:06 +0000 (22:43 +0000)
commit8802f02dfcf2cf5fb3569fd2b888543ca6a327a6
tree8eaf6f617e86f037ec43ea834ac86a1338c0b0e9
parenteab972a63c2171ff7fec78e3ed3f86cb795edebe
staging: android: binder.c: binder_ioctl() cleanup

binder_ioctl() is quite huge and checkpatch dirty - mostly because of
the amount of code for the BINDER_WRITE_READ and BINDER_SET_CONTEXT_MGR.
Moved that code into the new binder_ioctl_write_read() and
binder_ioctl_set_ctx_mgr()

Change-Id: I9c5cea46a570ca91768e5aa7b11c7178bdbb667d
Signed-off-by: Tair Rzayev <tair.rzayev@gmail.com>
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c