summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model/driver.txt
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-05-05 01:55:37 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-07 03:01:05 +0200
commit63dc355a5a8cf296e2b1cc2e4192190dca221129 (patch)
tree6dc32f94ef4bb41197e9dbdd73b416afc16ca874 /Documentation/driver-model/driver.txt
parentdriver core: Add the device driver-model structures to kerneldoc (diff)
downloadlinux-63dc355a5a8cf296e2b1cc2e4192190dca221129.tar.xz
linux-63dc355a5a8cf296e2b1cc2e4192190dca221129.zip
driver core: remove the driver-model structures from the documentation
Remove the struct bus_type, class, device, device_driver from the driver-model docs. With another patch add them to device.h, since they are out of date. That will keep things up to date and provide a better way to document this stuff. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Acked-by: Harry Wei <harryxiyou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/driver-model/driver.txt')
-rw-r--r--Documentation/driver-model/driver.txt18
1 files changed, 1 insertions, 17 deletions
diff --git a/Documentation/driver-model/driver.txt b/Documentation/driver-model/driver.txt
index d2cd6fb8ba9e..4421135826a2 100644
--- a/Documentation/driver-model/driver.txt
+++ b/Documentation/driver-model/driver.txt
@@ -1,23 +1,7 @@
Device Drivers
-struct device_driver {
- char * name;
- struct bus_type * bus;
-
- struct completion unloaded;
- struct kobject kobj;
- list_t devices;
-
- struct module *owner;
-
- int (*probe) (struct device * dev);
- int (*remove) (struct device * dev);
-
- int (*suspend) (struct device * dev, pm_message_t state);
- int (*resume) (struct device * dev);
-};
-
+See the kerneldoc for the struct device_driver.
Allocation