Commit 1b6f4753 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

This reverts commit 965ab29b.

This is causing way more problems than it is worth.

Cc: Martin Kepplinger <martink@posteo.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cc641d55
......@@ -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.
......
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