staging/bcm: move IOCTL_BCM_SWITCH_TRANSFER_MODE case out to its own function.
authorDave Jones <davej@redhat.com>
Thu, 13 Feb 2014 19:46:22 +0000 (14:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:10:06 +0000 (13:10 -0800)
commita0ad961a2777b27ef529097449b5dfff5195e5f0
tree4c5abbec444d449d774ff9b83da435a9fcfe04a9
parent645926b3139d5989fb92c0982cf49b071291c9a4
staging/bcm: move IOCTL_BCM_SWITCH_TRANSFER_MODE case out to its own function.

bcm_char_ioctl is one of the longest non-generated functions in the kernel,
at 1906 lines.  Splitting it up into multiple functions should simplify
this a lot.

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c