commit | ec7d9c9ce897174243af4fcd201dbfc34df0f3a3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 13 21:25:54 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 16 07:24:30 2018 +0200 |
tree | b8d010de43bd1a5b1faefd204b3d2447502bb0e4 | |
parent | 61fb5c043f92f5be4612b7511dcaf3f3fe6ab4c1 [diff] |
ide: 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>