staging/bcm: move IOCTL_CHIP_RESET case out to its own function.
authorDave Jones <davej@redhat.com>
Thu, 13 Feb 2014 19:46:12 +0000 (14:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:10:05 +0000 (13:10 -0800)
commit6e5781c67dfc0946cb53baa0cb034a12925911dd
tree1552507e4001c9c32b8dcddb29dffb6168691e93
parent49444b558d6c19cb6d6e76c689b33bf6dd7071e8
staging/bcm: move IOCTL_CHIP_RESET 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