Skip to content
Commit 8a8dcabf authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

tty: replace ->proc_fops with ->proc_show



Just set up the show callback in the tty_operations, and use
proc_create_single_data to create the file without additional
boilerplace code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent ec7d9c9c
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