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)
commite5c34a1aade7befa50c46381d0cc7b8f61475b31
tree0dad352ac78d3e2df93b45ef4f192bc26e5f61d0
parent8224ac2a787540afb77c18cc338284b1ad697b8e
Staging: bcm: Outsourced IsFlash2x() handling

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