[PATCH 41/42] tty: replace ->proc_fops with ->proc_show

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed May 16 05:58:02 EDT 2018


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 at lst.de>

Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>



More information about the linux-afs mailing list