staging/bcm: move IOCTL_BCM_FLASH2X_SECTION_READ case out to its own function.
authorDave Jones <davej@redhat.com>
Thu, 13 Feb 2014 19:47:18 +0000 (14:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:36:13 +0000 (13:36 -0800)
commitb4571fc2067b2568c5c05b063e7488ba30476670
tree79bfac3cae68bab021075c43e0d390187fc80074
parent5be531c22a9fa2b8f988462fa3950fa2fe33eacd
staging/bcm: move IOCTL_BCM_FLASH2X_SECTION_READ 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