[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <041272ab-b994-39e7-5773-fdea039f4a69@gmail.com>
Date: Thu, 25 Oct 2018 19:44:58 +0200
From: Jacek Anaszewski <jacek.anaszewski@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Pavel Machek <pavel@....cz>, Dan O'Donovan <dan@...tex.com>,
linux-kernel@...r.kernel.org,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org, linux-leds@...r.kernel.org,
Carlos Iglesias <carlos.iglesias@...tex.com>,
Javier Arteaga <javier@...tex.com>
Subject: Re: [PATCH v2 2/3] leds: upboard: Add LED support
On 10/25/2018 11:22 AM, Andy Shevchenko wrote:
> On Wed, Oct 24, 2018 at 10:07:30PM +0200, Jacek Anaszewski wrote:
>
>> Yet, there are many out of LED subsystem files to update:
>>
>> find -name "*.c" -o -name "*.h" | xargs grep "enum led_brightness" |
>> awk -F: '{print $1}' | sort -u | grep -v "leds" | wc -l
>>
>> returns 87.
>
> Side note:
>
> git grep -n 'enum led_brightness' | ...
>
> a bit more effitient.
Right, thanks for the hint.
--
Best regards,
Jacek Anaszewski
Powered by blists - more mailing lists