Move the strdup() call so that it is only done when we know we will bind the device. Reported-by: Coverity (CID: 131216) Signed-off-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| fsl_espi_spl.c | ||
| sandbox.c | ||
| sf-uclass.c | ||
| sf.c | ||
| sf_dataflash.c | ||
| sf_internal.h | ||
| sf_mtd.c | ||
| sf_probe.c | ||
| spi_flash.c | ||
| spi_flash_ids.c | ||