mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-17 20:44:37 +00:00
fs: debugfs: remove trailing whitespace
fixes checkpatch.pl trailing whitespace errors Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8278bd3abd
commit
88e412ea5e
2 changed files with 4 additions and 4 deletions
|
@ -451,7 +451,7 @@ static ssize_t read_file_bool(struct file *file, char __user *user_buf,
|
||||||
{
|
{
|
||||||
char buf[3];
|
char buf[3];
|
||||||
u32 *val = file->private_data;
|
u32 *val = file->private_data;
|
||||||
|
|
||||||
if (*val)
|
if (*val)
|
||||||
buf[0] = 'Y';
|
buf[0] = 'Y';
|
||||||
else
|
else
|
||||||
|
|
|
@ -66,7 +66,7 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return inode;
|
return inode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SMP-safe */
|
/* SMP-safe */
|
||||||
|
@ -317,7 +317,7 @@ static struct dentry *__create_file(const char *name, umode_t mode,
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
/* If the parent is not specified, we create it in the root.
|
/* If the parent is not specified, we create it in the root.
|
||||||
* We need the root dentry to do this, which is in the super
|
* We need the root dentry to do this, which is in the super
|
||||||
* block. A pointer to that is in the struct vfsmount that we
|
* block. A pointer to that is in the struct vfsmount that we
|
||||||
* have around.
|
* have around.
|
||||||
*/
|
*/
|
||||||
|
@ -330,7 +330,7 @@ static struct dentry *__create_file(const char *name, umode_t mode,
|
||||||
switch (mode & S_IFMT) {
|
switch (mode & S_IFMT) {
|
||||||
case S_IFDIR:
|
case S_IFDIR:
|
||||||
error = debugfs_mkdir(parent->d_inode, dentry, mode);
|
error = debugfs_mkdir(parent->d_inode, dentry, mode);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case S_IFLNK:
|
case S_IFLNK:
|
||||||
error = debugfs_link(parent->d_inode, dentry, mode,
|
error = debugfs_link(parent->d_inode, dentry, mode,
|
||||||
|
|
Loading…
Add table
Reference in a new issue