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