summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/cdev.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-28 11:20:51 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-12-28 11:20:51 +0100
commitf2863c54f30cccb50661697a6e4bdcd0ad0b0a6c (patch)
treee344a6dfcf693191f3e6a8d12a91ab37a1bafed6 /drivers/mtd/ubi/cdev.c
parentUBI: simplify PEB protection code (diff)
downloadlinux-f2863c54f30cccb50661697a6e4bdcd0ad0b0a6c.tar.xz
linux-f2863c54f30cccb50661697a6e4bdcd0ad0b0a6c.zip
UBI: fix checkpatch.pl warnings
Just minor indentation and "over 80 characters" fixes. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r--drivers/mtd/ubi/cdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index b30a0b83d7f1..98cf31ed0814 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -721,7 +721,8 @@ static int rename_volumes(struct ubi_device *ubi,
* It seems we need to remove volume with name @re->new_name,
* if it exists.
*/
- desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name, UBI_EXCLUSIVE);
+ desc = ubi_open_volume_nm(ubi->ubi_num, re->new_name,
+ UBI_EXCLUSIVE);
if (IS_ERR(desc)) {
err = PTR_ERR(desc);
if (err == -ENODEV)