Staging: bcm: Outsourced IsFlash2x() handling
authorMatthias Beyer <mail@beyermatthias.de>
Thu, 22 May 2014 10:17:27 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:53:40 +0000 (20:53 +0900)
This patch outsources the code from the IsFlash2x() check in
bcm_char_ioctl_nvm_rw() function to shorten it.

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

Simple merge