]> git.karo-electronics.de Git - karo-tx-linux.git/commit
char: misc: document behaviour of open()
authorMartin Kepplinger <martink@posteo.de>
Wed, 29 Oct 2014 19:22:58 +0000 (20:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 18:25:52 +0000 (10:25 -0800)
commit965ab29ba09d75056a6c9b0f707cd1c2cc91188f
tree2ba69e8b06764f59e18e1ebf2606f116925e95ef
parent2bfeeca107591134bf9a40945c50d337bf858612
char: misc: document behaviour of open()

an open syscall now assignes file->private_data to a pointer to the
miscdevice structure. This reminds driver developers not to duplicate
code if they need this.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c