From: Robert P. J. Day Date: Sat, 28 May 2011 23:11:39 +0000 (-0400) Subject: DOCUMENTATION: Replace create_device() with device_create(). X-Git-Tag: next-20110726~8^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b6badddcccf9d48a01e9a9b33c47922976291ab6;p=karo-tx-linux.git DOCUMENTATION: Replace create_device() with device_create(). Fix a rather obvious typo. Signed-off-by: Robert P. J. Day Signed-off-by: Greg Kroah-Hartman --- 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");