[PATCH] w1: Added add/remove slave callbacks.

Patch is based on work from Ben Gardner <bgardner@wabtec.com>

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Evgeniy Polyakov
2005-08-11 17:27:50 +04:00
committed by Greg Kroah-Hartman
parent ea7d8f65c8
commit d2a4ef6a0c
6 changed files with 94 additions and 126 deletions

View File

@@ -77,9 +77,6 @@ struct w1_slave
struct w1_family *family;
struct device dev;
struct completion dev_released;
struct bin_attribute attr_bin;
struct device_attribute attr_name;
};
typedef void (* w1_slave_found_callback)(unsigned long, u64);