diff options
author | Mike Frysinger | 2011-04-12 02:09:28 -0400 |
---|---|---|
committer | Mike Frysinger | 2011-04-12 02:30:25 -0400 |
commit | 493c36072160d72d5a8fe5943539da47c0a702a6 (patch) | |
tree | 4d32fabd1103a954d9eb835a9ad889db2b1ffb95 /drivers | |
parent | 334eb4b02f90c7223ee92e49307089590c77992c (diff) |
sf: use print_size() for sector_size output
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/spi/spi_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index ccb7e314085..c75b716fd43 100644 --- a/drivers/mtd/spi/spi_flash.c +++ b/drivers/mtd/spi/spi_flash.c @@ -297,8 +297,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, goto err_manufacturer_probe; } - printf("SF: Detected %s with page size %u, total ", - flash->name, flash->sector_size); + printf("SF: Detected %s with page size ", flash->name); + print_size(flash->sector_size, ", total "); print_size(flash->size, "\n"); spi_release_bus(spi); |