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

Greg Kroah-Hartman <[email protected]> Wed, 16 May 2018 11:58:02 +0200
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <20180516095802.GA16090__39660.6314382099$1526464607$gmane$org@kroah.com>
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 <[email protected]>

Reviewed-by: Greg Kroah-Hartman <[email protected]>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot