diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2012-05-12 23:30:36 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-05-14 20:59:22 +0200 |
commit | 20959ba21baf0e56aea505d090e79df37fa9e695 (patch) | |
tree | d4d2227fb26bc29d72bc27d4bda215f356f40c85 | |
parent | 5fb2b5cdacb1c76f4661cb34d7159fd266998d10 (diff) |
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>
-rw-r--r-- | src/drivers/spi/spi_flash.c | 2 | ||||
-rw-r--r-- | src/drivers/spi/sst.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c index 7384cbcf3f..2c0f702e70 100644 --- a/src/drivers/spi/spi_flash.c +++ b/src/drivers/spi/spi_flash.c @@ -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); - out: +out: spi_release_bus(flash->spi); return ret; } diff --git a/src/drivers/spi/sst.c b/src/drivers/spi/sst.c index 56cc851acf..c5bec12b66 100644 --- a/src/drivers/spi/sst.c +++ b/src/drivers/spi/sst.c @@ -193,7 +193,7 @@ sst_write(struct spi_flash *flash, u32 offset, size_t len, const void *buf) if (!ret && actual != len) ret = sst_byte_write(flash, offset, buf + actual); - done: +done: printk(BIOS_INFO, "SF: SST: program %s %zu bytes @ 0x%lx\n", ret ? "failure" : "success", len, offset - actual); |