Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tal Shorer and committed by
Greg Kroah-Hartman
898bc282 d9411e57

+5 -5
+5 -5
drivers/char/misc.c
··· 117 117 const struct file_operations *new_fops = NULL; 118 118 119 119 mutex_lock(&misc_mtx); 120 - 120 + 121 121 list_for_each_entry(c, &misc_list, list) { 122 122 if (c->minor == minor) { 123 - new_fops = fops_get(c->fops); 123 + new_fops = fops_get(c->fops); 124 124 break; 125 125 } 126 126 } 127 - 127 + 128 128 if (!new_fops) { 129 129 mutex_unlock(&misc_mtx); 130 130 request_module("char-major-%d-%d", MISC_MAJOR, minor); ··· 167 167 /** 168 168 * misc_register - register a miscellaneous device 169 169 * @misc: device structure 170 - * 170 + * 171 171 * Register a miscellaneous device with the kernel. If the minor 172 172 * number is set to %MISC_DYNAMIC_MINOR a minor number is assigned 173 173 * and placed in the minor field of the structure. For other cases ··· 181 181 * A zero is returned on success and a negative errno code for 182 182 * failure. 183 183 */ 184 - 184 + 185 185 int misc_register(struct miscdevice * misc) 186 186 { 187 187 dev_t dev;