Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1637848ima; Thu, 25 Oct 2018 02:24:27 -0700 (PDT) X-Google-Smtp-Source: AJdET5d8dumFAH0sdXCN6HadLKVZrLIgo7XhUfBrQOKgmq45AcCoyBw+BTAqu5DfoaBC+0TzBWB+ X-Received: by 2002:a17:902:ac86:: with SMTP id h6-v6mr751998plr.174.1540459467865; Thu, 25 Oct 2018 02:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540459467; cv=none; d=google.com; s=arc-20160816; b=L9VUsaNqFVd4ys3JL5Cs35mQOoqLIm11iRY2UEvA3tF0hGR6a9PUK9RWpOtGThBnpW U5uBzEkd5mq+u0d2tRGIiuZT/ZB8PFV0aO5CV8NetEOSqshTqC8yCg6Gaolm2WY/Q6mk wGfAw28ivfToUYWw7+RY2Llv0cMGUpP19Cm38CqKtmcekXWWMnRQk9N+oZaK3ozMGAVM saHZ6AyfyG+MfOk6dfJMt3mx00ODJLJHWyps2jWy7pln9KsQIlln2HLZpSAUw5pvXYNu D7iTK3uK3GfGoLvMiXqb5OykYiDZwaSMXfegnt/e8vdSYsYyw0I0SDZ+eWTxotwRAkJx 2rww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FfpPvm+HMWgmqP3BTyzF2o6bftc4VExS7HFUpKNXH/Q=; b=HIPsV4wEaOM9gs7mnG7Otgv1WvpxVJqbbhmXnxuAjR85CQJu3zOodRV2kyDa66f8WC JwmYWjE096Nmo9Mo6N3orw14E54pImVnMgz5ut02FNd2bPKFK+0hdH689H2hK16rXybJ ihpijFnXsb5A/3QH48rGvQuTZ4/8kIJVn6f/GUYcaPwsBFtJyHnK7m8DbBDcJa8FsMCr vJPg4VPNxwiU/1ax2+UCgLOpHgTGAceUytTmxPBOIY1e2oTD8aq3VkOCzlraeh15uwPj DxYi4NzQHgxjxzBeSFp2N/g8GrUFwDjVwpsuH8HD95p5u6udug2smvfu04wxlH8ycZzR udWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r68-v6si7664632pfa.15.2018.10.25.02.24.11; Thu, 25 Oct 2018 02:24:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727041AbeJYRyS (ORCPT + 99 others); Thu, 25 Oct 2018 13:54:18 -0400 Received: from mga14.intel.com ([192.55.52.115]:48264 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbeJYRyS (ORCPT ); Thu, 25 Oct 2018 13:54:18 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 02:22:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,423,1534834800"; d="scan'208";a="275481844" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga006.fm.intel.com with ESMTP; 25 Oct 2018 02:22:22 -0700 Received: from andy by smile with local (Exim 4.91) (envelope-from ) id 1gFbqP-0002EM-ON; Thu, 25 Oct 2018 12:22:21 +0300 Date: Thu, 25 Oct 2018 12:22:21 +0300 From: Andy Shevchenko To: Jacek Anaszewski Cc: Pavel Machek , Dan O'Donovan , linux-kernel@vger.kernel.org, Mika Westerberg , Heikki Krogerus , Lee Jones , Linus Walleij , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, Carlos Iglesias , Javier Arteaga Subject: Re: [PATCH v2 2/3] leds: upboard: Add LED support Message-ID: <20181025092221.GW10650@smile.fi.intel.com> References: <20180421085009.28773-1-javier@emutex.com> <1539969334-24577-1-git-send-email-dan@emutex.com> <1539969334-24577-3-git-send-email-dan@emutex.com> <20181023185453.GA27397@amd> <226e0df2-83f9-bee5-f359-a3e040d12311@gmail.com> <20181023193014.GA32003@amd> <00720f10-a525-32d1-0aa5-00fc88251f5e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00720f10-a525-32d1-0aa5-00fc88251f5e@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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