| Date | Wed, 16 May 2018 11:58:02 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 41/42] tty: replace ->proc_fops with ->proc_show |
| |
On Wed, May 16, 2018 at 11:43:45AM +0200, Christoph Hellwig wrote: > 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>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|