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

From: Greg Kroah-Hartman
Date: Wed May 16 2018 - 05:25:42 EST


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@xxxxxx>

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>