Messages in this thread | | | Date | Thu, 25 Oct 2018 12:22:21 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH v2 2/3] leds: upboard: Add LED support |
| |
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.
-- With Best Regards, Andy Shevchenko
| |