]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3bfb570c627b61f9e89ea1370a019e240267f008
tree0dad352ac78d3e2df93b45ef4f192bc26e5f61d0
parent197890eb883858092fb3d719d5c0266b3bb88d0c
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