Commit f800f09b authored by Artem Bityutskiy's avatar Artem Bityutskiy

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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 92ad8f37
...@@ -708,7 +708,7 @@ static int ubi_cdev_ioctl(struct inode *inode, struct file *file, ...@@ -708,7 +708,7 @@ static int ubi_cdev_ioctl(struct inode *inode, struct file *file,
struct file_operations ubi_cdev_operations = { struct file_operations ubi_cdev_operations = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.ioctl = ubi_cdev_ioctl, .ioctl = ubi_cdev_ioctl,
.llseek = no_llseek .llseek = no_llseek,
}; };
/* UBI volume character device operations */ /* UBI volume character device operations */
...@@ -719,5 +719,5 @@ struct file_operations ubi_vol_cdev_operations = { ...@@ -719,5 +719,5 @@ struct file_operations ubi_vol_cdev_operations = {
.llseek = vol_cdev_llseek, .llseek = vol_cdev_llseek,
.read = vol_cdev_read, .read = vol_cdev_read,
.write = vol_cdev_write, .write = vol_cdev_write,
.ioctl = vol_cdev_ioctl .ioctl = vol_cdev_ioctl,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment