[U-Boot] [PATCH v7 04/34] sf: probe: Code cleanup

2015-11-26 Thread Jagan Teki
- Move bar read code below the bar write hance both at once place, hence it easy for #ifdef macro only once and readable. - Move read_cmd_array at top Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_ops.c | 80 +++- 1 file

Re: [U-Boot] [PATCH v7 04/34] sf: probe: Code cleanup

2015-11-26 Thread Simon Glass
On 26 November 2015 at 04:03, Jagan Teki wrote: > - Move bar read code below the bar write hance both > at once place, hence it easy for #ifdef macro only > once and readable. > - Move read_cmd_array at top > > Signed-off-by: Jagan Teki > --- >