Revert "char: misc: document behaviour of open()"

This reverts commit 965ab29ba0.

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>
This commit is contained in:
Greg Kroah-Hartman 2014-11-14 16:48:56 -08:00
parent cc641d5529
commit 1b6f47537c

View file

@ -169,9 +169,7 @@ static const struct file_operations misc_fops = {
* the minor number requested is used.
*
* The structure passed is linked into the kernel and may not be
* destroyed until it has been unregistered. By default, an open()
* syscall to the device sets file->private_data to point to the
* structure.
* destroyed until it has been unregistered.
*
* A zero is returned on success and a negative errno code for
* failure.