sf_ops: Unify bank_sel calculation code
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 8 Oct 2013 17:56:47 +0000 (23:26 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 15 Oct 2013 18:44:00 +0000 (00:14 +0530)
commit6152dd15283dbc3bb65ff02d6faad7ef9ef7f7bc
tree0da35293916e2664c58e14664fddc5291f67d04f
parenta707b3db562c4c3ae580e2eabb05b59adcc31846
sf_ops: Unify bank_sel calculation code

Unified the bank_sel calculation code for erase and
write ops.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/sf_ops.c