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:
parent
2c31ccee0e
commit
c734c2972f
10 changed files with 7 additions and 40 deletions
|
@ -318,7 +318,7 @@ int boot_erase_img_bank(u32_t bank_offset)
|
|||
static int boot_init(struct device *dev)
|
||||
{
|
||||
ARG_UNUSED(dev);
|
||||
flash_dev = device_get_binding(FLASH_DRIVER_NAME);
|
||||
flash_dev = device_get_binding(FLASH_DEV_NAME);
|
||||
if (!flash_dev) {
|
||||
return -ENODEV;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue