lkml.org 
[lkml]   [2015]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] iio: Fix parameters in iio_triggered_buffer_setup
From
On Sun, Jun 14, 2015 at 1:20 PM, Jonathan Cameron <jic23@kernel.org> wrote:
> On 11/06/15 13:06, Cristina Opriceana wrote:
>> This patch renames the top half handler and the bottom half handler
>> of iio_triggered_buffer_setup() in accordance with their usage.
>> The names of the parameters were swapped, thus creating confusion.
>>
>> Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
> Good point. This is definitely misleading. I wonder if the _th naming
> is a good idea anymore though given that the bottom half (in the traditional
> sense) is now a thread based call and hence the th might be confusing?
> Perhaps the h and thread naming used in the pollfunc code would be clearer?
>

Sounds like a good idea. Cristina can prepare a patch for this.

> Lars, this bit was yours originally. Any thoughts?

Lets wait for Lars thoughts on this.

Daniel.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2015-06-21 16:21    [W:0.055 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site