[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:
committed by
Greg Kroah-Hartman
parent
ea7d8f65c8
commit
d2a4ef6a0c
@@ -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);
|
||||
|
Reference in New Issue
Block a user