diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-09 09:24:53 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-02-11 02:19:47 -0500 |
commit | 6819bc2e1e46c71711a8dddf4040e706b02973c0 (patch) | |
tree | 6baa6c808fd70a01d5e95c77b02d0a6c5409cc9e /net/irda/irproc.c | |
parent | 981c0ff6900c981668a798fe9e0bc5ba32ee3fd4 (diff) |
[NET] IRDA: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irproc.c')
-rw-r--r-- | net/irda/irproc.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/net/irda/irproc.c b/net/irda/irproc.c index 88b9c43f6370..d6f9aba5b9dc 100644 --- a/net/irda/irproc.c +++ b/net/irda/irproc.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /********************************************************************* | 1 | /********************************************************************* |
2 | * | 2 | * |
3 | * Filename: irproc.c | 3 | * Filename: irproc.c |
4 | * Version: 1.0 | 4 | * Version: 1.0 |
5 | * Description: Various entries in the /proc file system | 5 | * Description: Various entries in the /proc file system |
@@ -10,17 +10,17 @@ | |||
10 | * Modified by: Dag Brattli <dagb@cs.uit.no> | 10 | * Modified by: Dag Brattli <dagb@cs.uit.no> |
11 | * | 11 | * |
12 | * Copyright (c) 1998-1999, Dag Brattli <dagb@cs.uit.no> | 12 | * Copyright (c) 1998-1999, Dag Brattli <dagb@cs.uit.no> |
13 | * Copyright (c) 1998, Thomas Davis, <ratbert@radiks.net>, | 13 | * Copyright (c) 1998, Thomas Davis, <ratbert@radiks.net>, |
14 | * All Rights Reserved. | 14 | * All Rights Reserved. |
15 | * | 15 | * |
16 | * This program is free software; you can redistribute it and/or | 16 | * This program is free software; you can redistribute it and/or |
17 | * modify it under the terms of the GNU General Public License as | 17 | * modify it under the terms of the GNU General Public License as |
18 | * published by the Free Software Foundation; either version 2 of | 18 | * published by the Free Software Foundation; either version 2 of |
19 | * the License, or (at your option) any later version. | 19 | * the License, or (at your option) any later version. |
20 | * | 20 | * |
21 | * I, Thomas Davis, provide no warranty for any of this software. | 21 | * I, Thomas Davis, provide no warranty for any of this software. |
22 | * This material is provided "AS-IS" and at no charge. | 22 | * This material is provided "AS-IS" and at no charge. |
23 | * | 23 | * |
24 | ********************************************************************/ | 24 | ********************************************************************/ |
25 | 25 | ||
26 | #include <linux/miscdevice.h> | 26 | #include <linux/miscdevice.h> |
@@ -46,7 +46,7 @@ struct irda_entry { | |||
46 | 46 | ||
47 | struct proc_dir_entry *proc_irda; | 47 | struct proc_dir_entry *proc_irda; |
48 | EXPORT_SYMBOL(proc_irda); | 48 | EXPORT_SYMBOL(proc_irda); |
49 | 49 | ||
50 | static struct irda_entry irda_dirs[] = { | 50 | static struct irda_entry irda_dirs[] = { |
51 | {"discovery", &discovery_seq_fops}, | 51 | {"discovery", &discovery_seq_fops}, |
52 | {"irttp", &irttp_seq_fops}, | 52 | {"irttp", &irttp_seq_fops}, |
@@ -61,7 +61,7 @@ static struct irda_entry irda_dirs[] = { | |||
61 | * Register irda entry in /proc file system | 61 | * Register irda entry in /proc file system |
62 | * | 62 | * |
63 | */ | 63 | */ |
64 | void __init irda_proc_register(void) | 64 | void __init irda_proc_register(void) |
65 | { | 65 | { |
66 | int i; | 66 | int i; |
67 | struct proc_dir_entry *d; | 67 | struct proc_dir_entry *d; |
@@ -73,7 +73,7 @@ void __init irda_proc_register(void) | |||
73 | 73 | ||
74 | for (i=0; i<ARRAY_SIZE(irda_dirs); i++) { | 74 | for (i=0; i<ARRAY_SIZE(irda_dirs); i++) { |
75 | d = create_proc_entry(irda_dirs[i].name, 0, proc_irda); | 75 | d = create_proc_entry(irda_dirs[i].name, 0, proc_irda); |
76 | if (d) | 76 | if (d) |
77 | d->proc_fops = irda_dirs[i].fops; | 77 | d->proc_fops = irda_dirs[i].fops; |
78 | } | 78 | } |
79 | } | 79 | } |
@@ -84,17 +84,17 @@ void __init irda_proc_register(void) | |||
84 | * Unregister irda entry in /proc file system | 84 | * Unregister irda entry in /proc file system |
85 | * | 85 | * |
86 | */ | 86 | */ |
87 | void __exit irda_proc_unregister(void) | 87 | void __exit irda_proc_unregister(void) |
88 | { | 88 | { |
89 | int i; | 89 | int i; |
90 | 90 | ||
91 | if (proc_irda) { | 91 | if (proc_irda) { |
92 | for (i=0; i<ARRAY_SIZE(irda_dirs); i++) | 92 | for (i=0; i<ARRAY_SIZE(irda_dirs); i++) |
93 | remove_proc_entry(irda_dirs[i].name, proc_irda); | 93 | remove_proc_entry(irda_dirs[i].name, proc_irda); |
94 | 94 | ||
95 | remove_proc_entry("irda", proc_net); | 95 | remove_proc_entry("irda", proc_net); |
96 | proc_irda = NULL; | 96 | proc_irda = NULL; |
97 | } | 97 | } |
98 | } | 98 | } |
99 | 99 | ||
100 | 100 | ||