lkml.org 
[lkml]   [2018]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] gpio: mockup: use device properties instead of platform_data
On Tue, Sep 25, 2018 at 1:29 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> Some users want to introduce device tree support to the mockup driver.
> Let's make it easier by switching to using generic device properties.
> The driver stays compatible with previous use cases and after this
> conversion there'll be no need to change the way probing of mockup
> GPIO chips works.
>
> Tested with libgpiod test suite.
>
> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
> ---
> v1 -> v2:
> - dropped an unnecessary check when reading the base gpio number property

Patch applied.

Vincent, could you rebase your work on top of this
when/if you resend?

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2018-10-03 09:55    [W:1.966 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site