nand/denali Clean up all white spaces in code indent
Hi, I have changed the outlook mail cliet to be linux mutt client and use my personal gmail to submit patches. Here are 5 new patches to fix nand/denali check patch errors. The other 4 patches will be sent out after this mail. Thanks for your review. >From d125ad3f57bbf517131dccad6b5933edf8c2632a Mon Sep 17 00:00:00 2001 From: Chuanxiao Dong <chuanxiao.dong@intel.com> Date: Tue, 3 Aug 2010 15:54:48 +0800 Subject: [PATCH 1/5] mtd: denali.c: clean up all whitespaces in code indent Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
d2350c2ab5
commit
5bac3acfb8
@@ -1081,7 +1081,7 @@ static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask)
|
||||
else
|
||||
{
|
||||
/* these are not the interrupts you are looking for -
|
||||
need to wait again */
|
||||
* need to wait again */
|
||||
spin_unlock_irq(&denali->irq_lock);
|
||||
#if DEBUG_DENALI
|
||||
print_irq_log(denali);
|
||||
@@ -1231,7 +1231,6 @@ static int read_data_from_flash_mem(struct denali_nand_info *denali, uint8_t *bu
|
||||
/* we assume that len will be a multiple of 4, if not
|
||||
* it would be nice to know about it ASAP rather than
|
||||
* have random failures...
|
||||
*
|
||||
* This assumption is based on the fact that this
|
||||
* function is designed to be used to read flash pages,
|
||||
* which are typically multiples of 4...
|
||||
@@ -1550,7 +1549,7 @@ static int denali_read_oob(struct mtd_info *mtd, struct nand_chip *chip,
|
||||
read_oob_data(mtd, chip->oob_poi, page);
|
||||
|
||||
return 0; /* notify NAND core to send command to
|
||||
* NAND device. */
|
||||
NAND device. */
|
||||
}
|
||||
|
||||
static int denali_read_page(struct mtd_info *mtd, struct nand_chip *chip,
|
||||
@@ -1977,7 +1976,7 @@ static int denali_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
NAND_Read_Device_ID(denali);
|
||||
|
||||
/* MTD supported page sizes vary by kernel. We validate our
|
||||
kernel supports the device here.
|
||||
* kernel supports the device here.
|
||||
*/
|
||||
if (denali->dev_info.wPageSize > NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE)
|
||||
{
|
||||
@@ -2042,8 +2041,8 @@ static int denali_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
}
|
||||
|
||||
/* These functions are required by the NAND core framework, otherwise,
|
||||
the NAND core will assert. However, we don't need them, so we'll stub
|
||||
them out. */
|
||||
* the NAND core will assert. However, we don't need them, so we'll stub
|
||||
* them out. */
|
||||
denali->nand.ecc.calculate = denali_ecc_calculate;
|
||||
denali->nand.ecc.correct = denali_ecc_correct;
|
||||
denali->nand.ecc.hwctl = denali_ecc_hwctl;
|
||||
|
Reference in New Issue
Block a user