summaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2011-05-28 19:11:39 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 10:04:22 -0700
commitb6badddcccf9d48a01e9a9b33c47922976291ab6 (patch)
tree41a961287a02388cfc29c72e86991fdf77da207f /Documentation/driver-model
parent5464e9c72194d4db9665346b3973c1fb27ba87be (diff)
downloadlinux-next-b6badddcccf9d48a01e9a9b33c47922976291ab6.tar.gz
DOCUMENTATION: Replace create_device() with device_create().
Fix a rather obvious typo. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r--Documentation/driver-model/device.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-model/device.txt b/Documentation/driver-model/device.txt
index b2ff42685bcb..bdefe728a737 100644
--- a/Documentation/driver-model/device.txt
+++ b/Documentation/driver-model/device.txt
@@ -104,4 +104,4 @@ Then in the module init function is would do:
And assuming 'dev' is the struct device passed into the probe hook, the driver
probe function would do something like:
- create_device(&mydriver_class, dev, chrdev, &private_data, "my_name");
+ device_create(&mydriver_class, dev, chrdev, &private_data, "my_name");