From 20959ba21baf0e56aea505d090e79df37fa9e695 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 12 May 2012 23:30:36 +0200 Subject: SPI driver: style fix lint tests for labels to start at BOL, no spaces before them. Change-Id: Icf6ce533f26998a81b4be46d17e2d0b6b868904d Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/1029 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/drivers/spi/spi_flash.c | 2 +- src/drivers/spi/sst.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers') 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); -- cgit v1.2.3