diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 19:48:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 19:48:56 -0500 |
commit | 1b6f47537c86494bb525c31e695ae3a1dfd953ca (patch) | |
tree | 9650787f6b5d940e3f8982cc3d190783b638e2ff | |
parent | cc641d5529965fbd01edbdf289951fb95d3de1b8 (diff) |
Revert "char: misc: document behaviour of open()"
This reverts commit 965ab29ba09d75056a6c9b0f707cd1c2cc91188f.
This is causing way more problems than it is worth.
Cc: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/char/misc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/char/misc.c b/drivers/char/misc.c index 69a08a6b43aa..205ad4c58470 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c | |||
@@ -169,9 +169,7 @@ static const struct file_operations misc_fops = { | |||
169 | * the minor number requested is used. | 169 | * the minor number requested is used. |
170 | * | 170 | * |
171 | * The structure passed is linked into the kernel and may not be | 171 | * The structure passed is linked into the kernel and may not be |
172 | * destroyed until it has been unregistered. By default, an open() | 172 | * destroyed until it has been unregistered. |
173 | * syscall to the device sets file->private_data to point to the | ||
174 | * structure. | ||
175 | * | 173 | * |
176 | * A zero is returned on success and a negative errno code for | 174 | * A zero is returned on success and a negative errno code for |
177 | * failure. | 175 | * failure. |