Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2182296ima; Thu, 25 Oct 2018 10:45:42 -0700 (PDT) X-Google-Smtp-Source: AJdET5fZAbwfs3W2aCEWLMS6aKk8UiPCvcDJxqoPZ/S+leHA7PHjCdydtPRfxfuU/RB+oABTWdhc X-Received: by 2002:a62:2bc2:: with SMTP id r185-v6mr177447pfr.21.1540489542606; Thu, 25 Oct 2018 10:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540489542; cv=none; d=google.com; s=arc-20160816; b=eMKFIBV7IpbZ1adO+H8uc5LtzhZ0Y8jcsw07PBYyz9jHNmCut3Dq4sHM1a3qEoewzY C6vVEgHRArv3aMvBwysaWGkySzvvXNoHL8PBW1aMII1jOGMILdIRh1rY9O491lV+iNBC ZQIZFuBGa/6PrpGrwSGPE13VIz061QU2OfQ6aSfGUbGdlWUAKA/y0N1t5SENjCcUfcZW nPfF5FzKJTf5A9VnurNafjnBrrsIKq6z/D8NCzSP0YvLk6IzoO7S/Y4fvILsMdg0sLxY wXCb8eFN20zg0kv4cnOBa1xlE2+MX3q5WpkwyLUwWZHAB3e47a5KUoPDmPpNans1Somu wVeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=BxEszvb4SN2Y3byd2a8tlp8WZ66gjzKkAeOMRyPI3qs=; b=AkOzwr2bSUnopl/jxdanghqTbaAjFSvWD2Vcs4PYzFkoIxMgcA5YcWnkhAN4TJIIMD 8Wqd39LAWx6k4h/j5of81XckR2GvxMAUnnxCNDBIWH34MQOm5S64ZDLX/5r8086nOAz3 XFaHqpz38HaEvzegoyV6CAE3wTVmzE81jw56n6CTuj16iTvC+WvMt2iyAVOiDUQip7/S sUBftLzSloNKV2gydK7Ph6ox5vMIBSnpX5puz1WDfoCywUSr+kj4D/EnKMNZsHdDJpfo GGmscZjYRB3T0ZDFwchrBRvF4JUXsap03FrWg3I7NU0zElFU06QuGKelltgSx12GqPW9 c2lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTABAfeR; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6-v6si8295244pgq.495.2018.10.25.10.45.25; Thu, 25 Oct 2018 10:45:42 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YTABAfeR; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727593AbeJZCSu (ORCPT + 99 others); Thu, 25 Oct 2018 22:18:50 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44011 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727459AbeJZCSt (ORCPT ); Thu, 25 Oct 2018 22:18:49 -0400 Received: by mail-lj1-f195.google.com with SMTP id y22-v6so2412603lji.10; Thu, 25 Oct 2018 10:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=BxEszvb4SN2Y3byd2a8tlp8WZ66gjzKkAeOMRyPI3qs=; b=YTABAfeRub4E/pbSbbNXwZH1LNHUOHQ8t8jHad6L52C0WXEwrBCYHNG47IuqIJCtLI 47VsWzjQxgyarzqpmU+c2InJ5Vj4DXuxAk/e70oFvicNASzteNXouTLi3WdocS9LBOpH 7hHcOtfTLenFox0TIzHQYlFk5zsPq3Ak7Hyj7SGyUtpgVXeYaYDoc5ZD1KgokS8SyVbY JjOAscfBpz88pg0EtwLetbymfDFyGBng/MdFD9R6BCRPkmMlIq15kRDrjnISJw9g/WQA zBuyoGWpfxJNErDmWUOeIBkyFeuNsZ51qTaA198pdGBTcF39MFavrPjAQicLLma6MPAL QPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BxEszvb4SN2Y3byd2a8tlp8WZ66gjzKkAeOMRyPI3qs=; b=YAAdsQUuLUyPGGjpmdMUGGb1bfFUC13mDZDvUWrZh90eAdSdBMFIT6gVdDJ5tguEc/ ZZDVchoTytv0TYYkQWI13O/aWuJ/sDBdNaSoihz2vZwg0LcWWcH2wIl7PyaGYmIwgUXt 4GPuxfYrRBaxfOoOyV26CndT8OHjQ19s3bmNlrInhVPzhaPF0Gl3Me/EFMYF9IjBunya uG2Adzxv0Xoj4vacH4M2iQg5b9D8nlp/J8t/kBqllxqbAao1E5cWMl6PdroDlHLCIPwt 6k8JAube1XbUx7oksZkOYIcY0EmRnk6DzWp9JZdYrUjDnK2ra8vnc3XJzK9xmkpwBXzd W25w== X-Gm-Message-State: AGRZ1gIc3d66KyHl7LzeXxlbWab9oGXuZbmdwwci1Z75W/uY3oa/yr9g EKQ+JIoEAc2+GLgWc8YV0gA= X-Received: by 2002:a2e:20f:: with SMTP id 15-v6mr105799ljc.141.1540489501674; Thu, 25 Oct 2018 10:45:01 -0700 (PDT) Received: from [192.168.1.18] (dnt139.neoplus.adsl.tpnet.pl. [83.24.101.139]) by smtp.gmail.com with ESMTPSA id s129-v6sm905601lja.87.2018.10.25.10.44.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Oct 2018 10:45:00 -0700 (PDT) Subject: Re: [PATCH v2 2/3] leds: upboard: Add LED support To: Andy Shevchenko 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 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> <20181025092221.GW10650@smile.fi.intel.com> From: Jacek Anaszewski Message-ID: <041272ab-b994-39e7-5773-fdea039f4a69@gmail.com> Date: Thu, 25 Oct 2018 19:44:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181025092221.GW10650@smile.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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