Re: [PATCH] leds: gpio: Try to lookup gpiod from device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/09/2018 02:18 AM, Linus Walleij wrote:
> On Sat, Sep 8, 2018 at 10:38 PM Jacek Anaszewski
> <jacek.anaszewski@xxxxxxxxx> wrote:
> 
>>> +     /* skip leds that aren't available */
>>> +     if (!gpio_is_valid(template->gpio)) {
>>> +             return ERR_PTR(-ENOENT);
>>> +     }
>>
>> Curly braces are not needed for single statement block.
>>
>> I can fix it up by myself if you agree.
> 
> Sure thing, fix it as you like it and apply, thanks! :)

Fixed up and applied, thanks.

-- 
Best regards,
Jacek Anaszewski



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux