OSDN Git Service

Staging: bcm: Outsourced cmd handling to function
authorMatthias Beyer <mail@beyermatthias.de>
Thu, 22 May 2014 10:17:26 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:53:40 +0000 (20:53 +0900)
commit8224ac2a787540afb77c18cc338284b1ad697b8e
tree48fec55f6843134344e323b759a0ec19b29645ce
parent22840adaf7c66bcba826a22e56e81c58c007421a
Staging: bcm: Outsourced cmd handling to function

This patch outsourced the true-branch for the IOCTL_BCM_NVM_READ command
handling to shorten the bcm_char_ioctl_nvm_rw() function.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c