DOCUMENTATION: Replace create_device() with device_create().
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sat, 28 May 2011 23:11:39 +0000 (19:11 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 17:04:22 +0000 (10:04 -0700)
Fix a rather obvious typo.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/driver-model/device.txt

index b2ff426..bdefe72 100644 (file)
@@ -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");