lkml.org 
[lkml]   [2024]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/2] gpiolib-of: Make of_gpio_get_count() take firmware node as a parameter
    On Thu, Feb 29, 2024 at 04:51:38PM +0200, Andy Shevchenko wrote:
    > Make of_gpio_get_count() take firmware node as a parameter in order
    > to be aligned with other functions and decouple from unused device
    > pointer. The latter helps to create a common fwnode_gpio_count()
    > in the future.
    >
    > While at it, rename to be of_gpio_count() to be aligned with the others.

    ..

    > struct device;
    > +struct fwnode_handle;

    I just realized that this should be replacement, not addition.

    -struct device;
    +struct fwnode_handle;

    Bart, tell me if you can update, or should I send a v3?

    --
    With Best Regards,
    Andy Shevchenko



    \
     
     \ /
      Last update: 2024-05-27 15:28    [W:2.252 / U:1.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site