Skip to content

Commit

Permalink
DOCUMENTATION: Replace create_device() with device_create().
Browse files Browse the repository at this point in the history
Fix a rather obvious typo.

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
rpjday authored and gregkh committed Jun 7, 2011
1 parent 5464e9c commit b6baddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/driver-model/device.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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");

0 comments on commit b6baddd

Please sign in to comment.