diff options
author | gregkh@suse.de <gregkh@suse.de> | 2005-03-23 14:12:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-20 18:15:11 -0400 |
commit | cd987d38cc59053e0bab8150ffaca33b109067f3 (patch) | |
tree | 68cf99616bd548bff80ca12f37912d9cc4b31edd /include/linux/device.h | |
parent | 2fc68447df5c76cf254037047b4b02551bd5d760 (diff) |
[PATCH] class: remove class_simple code, as no one in the tree is using it anymore.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 73250d01c01f..68a95358013d 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -44,7 +44,6 @@ struct device; | |||
44 | struct device_driver; | 44 | struct device_driver; |
45 | struct class; | 45 | struct class; |
46 | struct class_device; | 46 | struct class_device; |
47 | struct class_simple; | ||
48 | 47 | ||
49 | struct bus_type { | 48 | struct bus_type { |
50 | const char * name; | 49 | const char * name; |
@@ -254,15 +253,6 @@ extern struct class_device *class_device_create(struct class *cls, dev_t devt, | |||
254 | __attribute__((format(printf,4,5))); | 253 | __attribute__((format(printf,4,5))); |
255 | extern void class_device_destroy(struct class *cls, dev_t devt); | 254 | extern void class_device_destroy(struct class *cls, dev_t devt); |
256 | 255 | ||
257 | /* interface for class simple stuff */ | ||
258 | extern struct class_simple *class_simple_create(struct module *owner, char *name); | ||
259 | extern void class_simple_destroy(struct class_simple *cs); | ||
260 | extern struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...) | ||
261 | __attribute__((format(printf,4,5))); | ||
262 | extern int class_simple_set_hotplug(struct class_simple *, | ||
263 | int (*hotplug)(struct class_device *dev, char **envp, int num_envp, char *buffer, int buffer_size)); | ||
264 | extern void class_simple_device_remove(dev_t dev); | ||
265 | |||
266 | 256 | ||
267 | struct device { | 257 | struct device { |
268 | struct list_head node; /* node in sibling list */ | 258 | struct list_head node; /* node in sibling list */ |