diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 16:33:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 16:33:34 -0700 |
commit | ddfd6d074e0fadd14b6670394a6a7fb6a955de18 (patch) | |
tree | dc9e56be1f324c535c5713b00f50b43b81dac43d /fs/sysfs/file.c | |
parent | 1b18dc2beb31f588db1c75901b0112324c72124f (diff) | |
download | linux-ddfd6d074e0fadd14b6670394a6a7fb6a955de18.tar.bz2 |
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, * dealing with, then call the store() method for the attribute, * passing the buffer that we acquired in fill_write_buffer(). */ -static int -flush_write_buffer(struct dentry *dentry, struct sysfs_buffer *buffer, size_t count) +static int flush_write_buffer(struct dentry *dentry, + struct sysfs_buffer *buffer, size_t count) { struct sysfs_dirent *attr_sd = dentry->d_fsdata; 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 * Hint: if you're writing a value, first read the file, modify only the * the value you're changing, then write entire buffer back. */ - -static ssize_t -sysfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) +static ssize_t sysfs_write_file(struct file *file, const char __user *buf, + size_t count, loff_t *ppos) { struct sysfs_buffer *buffer = file->private_data; ssize_t len; |