aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgregkh@suse.de <gregkh@suse.de>2005-03-23 14:12:38 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 18:15:11 -0400
commitcd987d38cc59053e0bab8150ffaca33b109067f3 (patch)
tree68cf99616bd548bff80ca12f37912d9cc4b31edd /include
parent2fc68447df5c76cf254037047b4b02551bd5d760 (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')
-rw-r--r--include/linux/device.h10
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;
44struct device_driver; 44struct device_driver;
45struct class; 45struct class;
46struct class_device; 46struct class_device;
47struct class_simple;
48 47
49struct bus_type { 48struct 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)));
255extern void class_device_destroy(struct class *cls, dev_t devt); 254extern void class_device_destroy(struct class *cls, dev_t devt);
256 255
257/* interface for class simple stuff */
258extern struct class_simple *class_simple_create(struct module *owner, char *name);
259extern void class_simple_destroy(struct class_simple *cs);
260extern 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)));
262extern 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));
264extern void class_simple_device_remove(dev_t dev);
265
266 256
267struct device { 257struct device {
268 struct list_head node; /* node in sibling list */ 258 struct list_head node; /* node in sibling list */