Commit b6badddc authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Greg Kroah-Hartman

DOCUMENTATION: Replace create_device() with device_create().

Fix a rather obvious typo.
Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5464e9c7
...@@ -104,4 +104,4 @@ Then in the module init function is would do: ...@@ -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 And assuming 'dev' is the struct device passed into the probe hook, the driver
probe function would do something like: 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");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment