flash: remove obsolete FLASH_DRIVER_NAME

Replace seldom occurrences of FLASH_DRIVER_NAME by equivalent
and commonly used FLASH_DEV_NAME.

Fixes #5919.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-02-06 14:28:12 +01:00 committed by Kumar Gala
commit c734c2972f
10 changed files with 7 additions and 40 deletions

View file

@ -33,7 +33,7 @@ struct driver_map_entry {
static const struct driver_map_entry flash_drivers_map[] = {
#ifdef FLASH_DRIVER_NAME /* SoC embedded flash driver */
{SOC_FLASH_0_ID, FLASH_DRIVER_NAME},
{SOC_FLASH_0_ID, FLASH_DEV_NAME},
#endif
#ifdef CONFIG_SPI_FLASH_W25QXXDV
{SPI_FLASH_0_ID, CONFIG_SPI_FLASH_W25QXXDV_DRV_NAME},