aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/cdev.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-28 03:12:25 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-14 04:34:41 -0400
commitfeddbb34ebd75e9b6bf573b852079e327a88c07a (patch)
tree99b11dc996e6ce633c332a165a073e76cb05601c /drivers/mtd/ubi/cdev.c
parent3627924acf70a9a26587712e4888ee7144489678 (diff)
UBI: fix minor stylistic issues
Fix checkpatch.pl errors and warnings: * space before tab * line over 80 characters * include linux/ioctl.h instead of asm/ioctl.h Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r--drivers/mtd/ubi/cdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index 4119cb857c97..191f3bb3c41a 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -115,7 +115,7 @@ static int vol_cdev_open(struct inode *inode, struct file *file)
115 mode = UBI_READONLY; 115 mode = UBI_READONLY;
116 116
117 dbg_gen("open device %d, volume %d, mode %d", 117 dbg_gen("open device %d, volume %d, mode %d",
118 ubi_num, vol_id, mode); 118 ubi_num, vol_id, mode);
119 119
120 desc = ubi_open_volume(ubi_num, vol_id, mode); 120 desc = ubi_open_volume(ubi_num, vol_id, mode);
121 if (IS_ERR(desc)) 121 if (IS_ERR(desc))
@@ -158,7 +158,7 @@ static loff_t vol_cdev_llseek(struct file *file, loff_t offset, int origin)
158 loff_t new_offset; 158 loff_t new_offset;
159 159
160 if (vol->updating) { 160 if (vol->updating) {
161 /* Update is in progress, seeking is prohibited */ 161 /* Update is in progress, seeking is prohibited */
162 dbg_err("updating"); 162 dbg_err("updating");
163 return -EBUSY; 163 return -EBUSY;
164 } 164 }