dm: env_sf: fix saveenv() to use driver model
authorGong Qianyu <Qianyu.Gong@freescale.com>
Tue, 26 Jan 2016 07:06:42 +0000 (15:06 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 27 Jan 2016 16:28:40 +0000 (08:28 -0800)
commit19c31285a33248e2cf95e8d44e012cd392bc04ad
treef55b0354744502cc43baea0b87d83dd00941b594
parent940d2b89bf36c17dfc9972111b68391c35b4e9f2
dm: env_sf: fix saveenv() to use driver model

It might be missed when converting spi_flash_probe() in cmd_sf.c.

This patch refers to commit fbb099183e3a ("dm: Convert
spi_flash_probe() and 'sf probe' to use driver model").

Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <york.sun@nxp.com>
common/env_sf.c