summaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorgregkh@suse.de <gregkh@suse.de>2005-03-23 11:12:38 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-20 15:15:11 -0700
commitcd987d38cc59053e0bab8150ffaca33b109067f3 (patch)
tree68cf99616bd548bff80ca12f37912d9cc4b31edd /include/linux/device.h
parent2fc68447df5c76cf254037047b4b02551bd5d760 (diff)
downloadop-kernel-dev-cd987d38cc59053e0bab8150ffaca33b109067f3.zip
op-kernel-dev-cd987d38cc59053e0bab8150ffaca33b109067f3.tar.gz
[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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 73250d0..68a9535 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -44,7 +44,6 @@ struct device;
struct device_driver;
struct class;
struct class_device;
-struct class_simple;
struct bus_type {
const char * name;
@@ -254,15 +253,6 @@ extern struct class_device *class_device_create(struct class *cls, dev_t devt,
__attribute__((format(printf,4,5)));
extern void class_device_destroy(struct class *cls, dev_t devt);
-/* interface for class simple stuff */
-extern struct class_simple *class_simple_create(struct module *owner, char *name);
-extern void class_simple_destroy(struct class_simple *cs);
-extern struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...)
- __attribute__((format(printf,4,5)));
-extern int class_simple_set_hotplug(struct class_simple *,
- int (*hotplug)(struct class_device *dev, char **envp, int num_envp, char *buffer, int buffer_size));
-extern void class_simple_device_remove(dev_t dev);
-
struct device {
struct list_head node; /* node in sibling list */
OpenPOWER on IntegriCloud