staging/bcm: move IOCTL_BCM_NVM_[READ|WRITE] cases out to their own function.
authorDave Jones <davej@redhat.com>
Thu, 13 Feb 2014 19:47:13 +0000 (14:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:36:13 +0000 (13:36 -0800)
commit5be531c22a9fa2b8f988462fa3950fa2fe33eacd
tree51b951a2712d399329803f4c785e5054ecd8fadd
parent085ca029bef8e120ebf2b400ba28eef336fe6fe8
staging/bcm: move IOCTL_BCM_NVM_[READ|WRITE] cases out to their 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