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.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.h')
-rw-r--r-- | drivers/w1/w1.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/w1/w1.h b/drivers/w1/w1.h index 3828f39b22eb..c90a92879bc7 100644 --- a/drivers/w1/w1.h +++ b/drivers/w1/w1.h | |||
@@ -187,11 +187,8 @@ struct w1_slave *w1_search_slave(struct w1_reg_num *id); | |||
187 | void w1_search_process(struct w1_master *dev, u8 search_type); | 187 | void w1_search_process(struct w1_master *dev, u8 search_type); |
188 | struct w1_master *w1_search_master_id(u32 id); | 188 | struct w1_master *w1_search_master_id(u32 id); |
189 | 189 | ||
190 | void w1_delay(unsigned long); | ||
191 | u8 w1_touch_bit(struct w1_master *, int); | ||
192 | u8 w1_triplet(struct w1_master *dev, int bdir); | 190 | u8 w1_triplet(struct w1_master *dev, int bdir); |
193 | void w1_write_8(struct w1_master *, u8); | 191 | void w1_write_8(struct w1_master *, u8); |
194 | u8 w1_read_8(struct w1_master *); | ||
195 | int w1_reset_bus(struct w1_master *); | 192 | int w1_reset_bus(struct w1_master *); |
196 | u8 w1_calc_crc8(u8 *, int); | 193 | u8 w1_calc_crc8(u8 *, int); |
197 | void w1_write_block(struct w1_master *, const u8 *, int); | 194 | void w1_write_block(struct w1_master *, const u8 *, int); |