SPI driver: style fix
lint tests for labels to start at BOL, no spaces before them. Change-Id: Icf6ce533f26998a81b4be46d17e2d0b6b868904d Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/1029 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
5fb2b5cdac
commit
20959ba21b
|
@ -177,7 +177,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
|
||||||
|
|
||||||
printk(BIOS_DEBUG, "SF: Successfully erased %zu bytes @ %#x\n", len, start);
|
printk(BIOS_DEBUG, "SF: Successfully erased %zu bytes @ %#x\n", len, start);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
spi_release_bus(flash->spi);
|
spi_release_bus(flash->spi);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,7 +193,7 @@ sst_write(struct spi_flash *flash, u32 offset, size_t len, const void *buf)
|
||||||
if (!ret && actual != len)
|
if (!ret && actual != len)
|
||||||
ret = sst_byte_write(flash, offset, buf + actual);
|
ret = sst_byte_write(flash, offset, buf + actual);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
printk(BIOS_INFO, "SF: SST: program %s %zu bytes @ 0x%lx\n",
|
printk(BIOS_INFO, "SF: SST: program %s %zu bytes @ 0x%lx\n",
|
||||||
ret ? "failure" : "success", len, offset - actual);
|
ret ? "failure" : "success", len, offset - actual);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue