lkml.org 
[lkml]   [2014]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] debugfs: add helper function to create device related seq_file
On Sat, Oct 11, 2014 at 06:09:47PM +0200, Arend van Spriel wrote:
> On 10/11/14 18:01, Arend van Spriel wrote:
> >This patch adds a helper function that simplifies adding a
> >sequence file for device drivers. The calling device driver
> >needs to provide a read function and a device pointer. The
> >field struct seq_file::private will reference the device
> >pointer upon call to the read function so the driver can
> >obtain his data from it and do its seq_printf() calls.
>
> Maybe should have made this RFC first. Anyways, it is intended for 3.19,
> although I don't mind if it would end up in 3.18 :-p

It's too late for 3.18, sorry.


\
 
 \ /
  Last update: 2014-10-11 22:41    [W:0.315 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site