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

Simon Glass
2015-11-26T17:50:10Z

On 26 November 2015 at 04:03, Jagan Teki <jteki@openedev.com> 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 <jteki@openedev.com>
> ---
> drivers/mtd/spi/sf_ops.c | 80 +++++++++++++++++++++++-------------------------
> 1 file changed, 39 insertions(+), 41 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>