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