diff options
author | Evgeniy Polyakov <johnpol@2ka.mipt.ru> | 2006-04-24 02:46:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 14:22:50 -0400 |
commit | 70d484bff43013e9b08f5d970b1c5941e9d98e16 (patch) | |
tree | 1d5fdc87b7cdfe45b4ae745aef0310c256bd50f7 /drivers/w1/w1_family.h | |
parent | 2c5bfdac33607a618d8cf1532ef235ca9eccd49e (diff) |
[PATCH] W1: possible cleanups
This patch contains the following possible cleanups:
- the following file did't #include the header with the prototypes for
it's global functions:
- w1_int.c
- #if 0 the following unused global function:
- w1_family.c: w1_family_get()
- make the following needlessly global functions static:
- w1_family.c: __w1_family_put()
- w1_io.c: w1_delay()
- w1_io.c: w1_touch_bit()
- w1_io.c: w1_read_8()
- remove the following unused EXPORT_SYMBOL's:
- w1_family.c: w1_family_put
- w1_family.c: w1_family_registered
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r-- | drivers/w1/w1_family.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h index 22a9d52c94f3..1e2ac40c2c14 100644 --- a/drivers/w1/w1_family.h +++ b/drivers/w1/w1_family.h | |||
@@ -57,10 +57,8 @@ struct w1_family | |||
57 | 57 | ||
58 | extern spinlock_t w1_flock; | 58 | extern spinlock_t w1_flock; |
59 | 59 | ||
60 | void w1_family_get(struct w1_family *); | ||
61 | void w1_family_put(struct w1_family *); | 60 | void w1_family_put(struct w1_family *); |
62 | void __w1_family_get(struct w1_family *); | 61 | void __w1_family_get(struct w1_family *); |
63 | void __w1_family_put(struct w1_family *); | ||
64 | struct w1_family * w1_family_registered(u8); | 62 | struct w1_family * w1_family_registered(u8); |
65 | void w1_unregister_family(struct w1_family *); | 63 | void w1_unregister_family(struct w1_family *); |
66 | int w1_register_family(struct w1_family *); | 64 | int w1_register_family(struct w1_family *); |