Skip to content

Commit 898bc28

Browse files
talshorergregkh
authored andcommitted
drivers: char: misc.c: remove trailing whitespace
Remove trailing whitespace from several lines in drivers/char/misc.c This was done using scripts/cleanfile Signed-off-by: Tal Shorer <tal.shorer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d9411e5 commit 898bc28

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/char/misc.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ static int misc_open(struct inode * inode, struct file * file)
117117
const struct file_operations *new_fops = NULL;
118118

119119
mutex_lock(&misc_mtx);
120-
120+
121121
list_for_each_entry(c, &misc_list, list) {
122122
if (c->minor == minor) {
123-
new_fops = fops_get(c->fops);
123+
new_fops = fops_get(c->fops);
124124
break;
125125
}
126126
}
127-
127+
128128
if (!new_fops) {
129129
mutex_unlock(&misc_mtx);
130130
request_module("char-major-%d-%d", MISC_MAJOR, minor);
@@ -167,7 +167,7 @@ static const struct file_operations misc_fops = {
167167
/**
168168
* misc_register - register a miscellaneous device
169169
* @misc: device structure
170-
*
170+
*
171171
* Register a miscellaneous device with the kernel. If the minor
172172
* number is set to %MISC_DYNAMIC_MINOR a minor number is assigned
173173
* and placed in the minor field of the structure. For other cases
@@ -181,7 +181,7 @@ static const struct file_operations misc_fops = {
181181
* A zero is returned on success and a negative errno code for
182182
* failure.
183183
*/
184-
184+
185185
int misc_register(struct miscdevice * misc)
186186
{
187187
dev_t dev;

0 commit comments

Comments
 (0)