diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-05-06 09:45:43 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-07-18 09:53:17 -0400 |
commit | f800f09bf44871f6c6e4d3e42a60946e1ea51b17 (patch) | |
tree | 7a3e797aa4ad3494d38da2ead3552943cb6f0b6e /drivers/mtd/ubi | |
parent | 92ad8f37509a7d9d5dd6e0092211b092a7ca7fb1 (diff) |
UBI: minor comma fix
Use coma at the the last elements of structure initializer.
Daniel Stone's explanation:
Because it turns:
- .attr = foo
+ .attr = foo,
+ .bar = baz
into:
+ .bar = baz,
i.e., far less likely to screw up a merge.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/cdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index 34375ee6d4a4..5fc9fd457e69 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c | |||
@@ -708,7 +708,7 @@ static int ubi_cdev_ioctl(struct inode *inode, struct file *file, | |||
708 | struct file_operations ubi_cdev_operations = { | 708 | struct file_operations ubi_cdev_operations = { |
709 | .owner = THIS_MODULE, | 709 | .owner = THIS_MODULE, |
710 | .ioctl = ubi_cdev_ioctl, | 710 | .ioctl = ubi_cdev_ioctl, |
711 | .llseek = no_llseek | 711 | .llseek = no_llseek, |
712 | }; | 712 | }; |
713 | 713 | ||
714 | /* UBI volume character device operations */ | 714 | /* UBI volume character device operations */ |
@@ -719,5 +719,5 @@ struct file_operations ubi_vol_cdev_operations = { | |||
719 | .llseek = vol_cdev_llseek, | 719 | .llseek = vol_cdev_llseek, |
720 | .read = vol_cdev_read, | 720 | .read = vol_cdev_read, |
721 | .write = vol_cdev_write, | 721 | .write = vol_cdev_write, |
722 | .ioctl = vol_cdev_ioctl | 722 | .ioctl = vol_cdev_ioctl, |
723 | }; | 723 | }; |