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