[U-Boot] [PATCH v7 20/34] dm-sf: use mtd_ops, drop dm_spi_flash_ops

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

Hi Jagan,

On 26 November 2015 at 04:04, Jagan Teki <jteki@openedev.com> wrote:
> Since mtd_info ops got introduced, just drop the unneeded
> dm_spi_flash operations.
>
> Reviewed-by: Heiko Schocher <hs@denx.de>
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> ---
> drivers/mtd/spi/sf-uclass.c | 39 --------------------
> include/spi_flash.h | 90 +++++++--------------------------------------
> 2 files changed, 14 insertions(+), 115 deletions(-)

But mtd_info ops should support driver model.

Regards,
Simon