/* basic flash erase, only used with offset aligned to flash page and len a multiple of the flash page size  */
static int eeprom_emu_flash_erase(const struct device *dev, off_t offset, size_t len)
/* basic flash erase, only used with offset aligned to flash page and len a multiple of the flash page size  */
static int eeprom_emu_flash_erase(const struct device *dev, off_t offset, size_t len)
{
	const struct eeprom_emu_config *dev_config = dev->config;
	int rc;
	rc = flash_erase(dev_config->flash_dev, dev_config->flash_offset +
			 offset, len);
	return rc;
}