sf: Move read_id code to sf_ops
authorJagan Teki <jteki@openedev.com>
Tue, 29 Sep 2015 12:36:04 +0000 (18:06 +0530)
committerJagan Teki <jteki@openedev.com>
Fri, 11 Dec 2015 16:42:23 +0000 (22:12 +0530)
commit1e90d9fd3148cebcd6f87cbbaed564b878e2b24a
treed4d622b5812f0955f9baed0de35dba2916fa5969
parent3847c0c18051a7a98982a3ae8ff1446b2b09a9ef
sf: Move read_id code to sf_ops

read_id code is related to spi_flash stuff
hence moved to sf_ops.

Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_ops.c
drivers/mtd/spi/sf_probe.c