commit | 8a8dcabffb991a08fa1fab4e75b80a9075825606 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 13 21:04:45 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 16 07:24:30 2018 +0200 |
tree | db9d836b96716c68104ab6c82d6a18912d0b3c84 | |
parent | ec7d9c9ce897174243af4fcd201dbfc34df0f3a3 [diff] |
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: Christoph Hellwig <hch@lst.de>