diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 19:33:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 19:33:34 -0400 |
commit | ddfd6d074e0fadd14b6670394a6a7fb6a955de18 (patch) | |
tree | dc9e56be1f324c535c5713b00f50b43b81dac43d /fs/sysfs/file.c | |
parent | 1b18dc2beb31f588db1c75901b0112324c72124f (diff) |
sysfs: fix up 80 column coding style issues
This fixes up the 80 column coding style issues in the sysfs .c files.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r-- | fs/sysfs/file.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 1e12e07eed5e..62bdcefbac6c 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c | |||
@@ -185,8 +185,8 @@ static int fill_write_buffer(struct sysfs_buffer *buffer, | |||
185 | * dealing with, then call the store() method for the attribute, | 185 | * dealing with, then call the store() method for the attribute, |
186 | * passing the buffer that we acquired in fill_write_buffer(). | 186 | * passing the buffer that we acquired in fill_write_buffer(). |
187 | */ | 187 | */ |
188 | static int | 188 | static int flush_write_buffer(struct dentry *dentry, |
189 | flush_write_buffer(struct dentry *dentry, struct sysfs_buffer *buffer, size_t count) | 189 | struct sysfs_buffer *buffer, size_t count) |
190 | { | 190 | { |
191 | struct sysfs_dirent *attr_sd = dentry->d_fsdata; | 191 | struct sysfs_dirent *attr_sd = dentry->d_fsdata; |
192 | struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; | 192 | struct kobject *kobj = attr_sd->s_parent->s_dir.kobj; |
@@ -221,9 +221,8 @@ flush_write_buffer(struct dentry *dentry, struct sysfs_buffer *buffer, size_t co | |||
221 | * Hint: if you're writing a value, first read the file, modify only the | 221 | * Hint: if you're writing a value, first read the file, modify only the |
222 | * the value you're changing, then write entire buffer back. | 222 | * the value you're changing, then write entire buffer back. |
223 | */ | 223 | */ |
224 | 224 | static ssize_t sysfs_write_file(struct file *file, const char __user *buf, | |
225 | static ssize_t | 225 | size_t count, loff_t *ppos) |
226 | sysfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) | ||
227 | { | 226 | { |
228 | struct sysfs_buffer *buffer = file->private_data; | 227 | struct sysfs_buffer *buffer = file->private_data; |
229 | ssize_t len; | 228 | ssize_t len; |