diff options
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-12 21:38:21 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2014-01-12 21:38:21 +0530 |
commit | 2ba863fae628bb5fe2ec4b803f639c1edb55ea33 (patch) | |
tree | 76db8fc3bc04aad7a0bb92143f5e4315d5aa6459 /drivers/mtd/spi/sf_probe.c | |
parent | 9f4322fd2281d9736b9fd208a5e2ecaec49e21e0 (diff) | |
download | u-boot-imx-2ba863fae628bb5fe2ec4b803f639c1edb55ea33.zip u-boot-imx-2ba863fae628bb5fe2ec4b803f639c1edb55ea33.tar.gz u-boot-imx-2ba863fae628bb5fe2ec4b803f639c1edb55ea33.tar.bz2 |
sf: Code cleanups
- comment typo's
- func args have a proper names
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'drivers/mtd/spi/sf_probe.c')
-rw-r--r-- | drivers/mtd/spi/sf_probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 6b59f2a..ac42b60 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c @@ -167,7 +167,7 @@ static struct spi_flash *spi_flash_validate_params(struct spi_slave *spi, cmd = spi_read_cmds_array[cmd - 1]; flash->read_cmd = cmd; } else { - /* Go for for default supported read cmd */ + /* Go for default supported read cmd */ flash->read_cmd = CMD_READ_ARRAY_FAST; } @@ -207,7 +207,7 @@ static struct spi_flash *spi_flash_validate_params(struct spi_slave *spi, flash->dummy_byte = 1; } - /* Poll cmd seclection */ + /* Poll cmd selection */ flash->poll_cmd = CMD_READ_STATUS; #ifdef CONFIG_SPI_FLASH_STMICRO if (params->flags & E_FSR) |