Fix some spacing problems

This commit is contained in:
Gregory Nutt
2015-10-04 15:04:00 -06:00
parent 863ded3584
commit 0b12dbf95d
88 changed files with 226 additions and 229 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ static ssize_t at45db_bread(FAR struct mtd_dev_s *mtd, off_t startblock,
FAR struct at45db_dev_s *priv = (FAR struct at45db_dev_s *)mtd;
ssize_t nbytes;
/* On this device, we can handle the block read just like the byte-oriented read */
/* On this device, we can handle the block read just like the byte-oriented read */
nbytes = at45db_read(mtd, startblock << priv->pageshift,
nblocks << priv->pageshift, buffer);
+1 -1
View File
@@ -540,7 +540,7 @@ static int nand_writepage(FAR struct nand_dev_s *nand, off_t block,
* ECC calculations.
*/
else
else
#endif
{
return NAND_WRITEPAGE(nand->raw, block, page, data, NULL);
+1 -1
View File
@@ -88,7 +88,7 @@
#define EBICSA_EBI_DBPDC (1 << 9)
#define EBICSA_NAND_D0_ON_D16 (1 << 24)
/* Misc. definitions */
/* Misc. definitions */
#define MAX_READ_STATUS_COUNT 100000 /* Read status timeout */
#define ONFI_PARAM_TABLE_SIZE 116 /* Not all 256 bytes are useful */
+2 -2
View File
@@ -644,9 +644,9 @@ static inline int st25fl1_readid(struct st25fl1_dev_s *priv)
default:
fdbg("ERROR: Unsupported memory capacity: %02x\n", priv->cmdbuf[2]);
return -ENODEV;
}
}
return OK;
return OK;
}
/************************************************************************************