diff options
| author | Wolfgang Denk <wd@denx.de> | 2008-12-16 01:02:17 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-12-16 01:02:17 +0100 | 
| commit | 455ae7e87f67c44e6aea68865c83acadd3fcd36c (patch) | |
| tree | 9f3b69f9c1c2fcc8937e6bd964b1321ac17d45bc /drivers | |
| parent | 84bc72d90c505fec3ef4b693995407a0bd4064e5 (diff) | |
| download | olio-uboot-2014.01-455ae7e87f67c44e6aea68865c83acadd3fcd36c.tar.xz olio-uboot-2014.01-455ae7e87f67c44e6aea68865c83acadd3fcd36c.zip | |
Coding style cleanup, update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/i2c/soft_i2c.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/ubi/crc32.c | 2 | ||||
| -rw-r--r-- | drivers/mtd/ubi/io.c | 2 | ||||
| -rw-r--r-- | drivers/mtd/ubi/vmt.c | 2 | 
4 files changed, 3 insertions, 4 deletions
| diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index f12dedf89..a27de5a7e 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -434,4 +434,3 @@ int  i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len)  	send_stop();  	return(failures);  } - diff --git a/drivers/mtd/ubi/crc32.c b/drivers/mtd/ubi/crc32.c index 5273ca3e0..a7e26b045 100644 --- a/drivers/mtd/ubi/crc32.c +++ b/drivers/mtd/ubi/crc32.c @@ -97,7 +97,7 @@ u32 crc32_le(u32 crc, unsigned char const *p, size_t len)  # else  #  define DO_CRC(x) crc = tab[ ((crc >> 24) ^ (x)) & 255] ^ (crc<<8)  # endif -    //printf("Crc32_le crc=%x\n",crc); +	/* printf("Crc32_le crc=%x\n",crc); */  	crc = __cpu_to_le32(crc);  	/* Align it */  	if((((long)b)&3 && len)){ diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index 2d44f232a..842389400 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c @@ -186,7 +186,7 @@ retry:  		if (read != len && err == -EBADMSG) {  			ubi_assert(0);  			printk("%s[%d] not here\n", __func__, __LINE__); -//			err = -EIO; +/*			err = -EIO; */  		}  	} else {  		ubi_assert(len == read); diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c index a87a2f367..061da649e 100644 --- a/drivers/mtd/ubi/vmt.c +++ b/drivers/mtd/ubi/vmt.c @@ -260,7 +260,7 @@ int ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req)  			goto out_unlock;  		} -        /* Calculate how many eraseblocks are requested */ +	/* Calculate how many eraseblocks are requested */  	vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment;  	bytes = req->bytes;  	if (do_div(bytes, vol->usable_leb_size)) |