提交 ab9bf4be 编写于 作者: G Greg Kroah-Hartman

sysfs: remove trailing whitespace

This removes all trailing whitespace errors in the sysfs code.
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1b866757
...@@ -154,9 +154,8 @@ sysfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) ...@@ -154,9 +154,8 @@ sysfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos)
* Allocate @buffer->page if it hasn't been already, then * Allocate @buffer->page if it hasn't been already, then
* copy the user-supplied buffer into it. * copy the user-supplied buffer into it.
*/ */
static int fill_write_buffer(struct sysfs_buffer * buffer,
static int const char __user * buf, size_t count)
fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t count)
{ {
int error; int error;
...@@ -186,7 +185,6 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t ...@@ -186,7 +185,6 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t
* dealing with, then call the store() method for the attribute, * dealing with, then call the store() method for the attribute,
* passing the buffer that we acquired in fill_write_buffer(). * passing the buffer that we acquired in fill_write_buffer().
*/ */
static int static int
flush_write_buffer(struct dentry * dentry, struct sysfs_buffer * buffer, size_t count) flush_write_buffer(struct dentry * dentry, struct sysfs_buffer * buffer, size_t count)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册