Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1817367pxk; Sat, 19 Sep 2020 03:20:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/ZBK4avMCVuzLHtF6ie1Ph4wFFvO9cXwhxMkKzE3o6HE7sW86KTcv2/dtTnE34LK/y4uW X-Received: by 2002:a17:906:72d2:: with SMTP id m18mr39987357ejl.220.1600510839814; Sat, 19 Sep 2020 03:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600510839; cv=none; d=google.com; s=arc-20160816; b=G4sCvKFIWbdUi+zjaJChie/PK7wFFA19SU6rTWk96LAuAQW3AnrBMAcxzIciKzYuKU KDY6Ski/UFnhgdHFUL12urHP3FZZWXC3bnyWgg2JYNvKgDcOVpVg/1Ot3JUWEe/oa9GA aLejkOOHmjR6z2moDTZMMi3kOuNWbj0bXzfmqrhrf+QNcYg8DTnydzerngX8jXOdQVOE RKner3Av3u4UkpQJJ5IIpY454Yime9x01Np5m3UFsX2WCCBQ5pPrPBHSgVAj5qoEN+LW /jw+a5gHJsvvup8xc3/ngmQjI86WUrdHnUazF+DkPWFYSwv34mS0FZD2tKyuBoNEQoz3 Rkbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pHsUCkif4gDE0eRdeEtPB2XLrxgc6k1jaQO7gfCH2BU=; b=qY83qXQBE/zixp5v52D0Gyajh0aFc/HRCj4AfOHkd0FoFHXcf1Cl+HyqVaZpvu8bnx Tb/9Ger9sOXKQQ9xgRrGqP2sGAMV0e4bWQNAwnRWLosYEYNJUhR54l4kirEsgBK9o9Os KRXE+WsWRz4n+3HxRFiJNjJE3eL3MLikhbVNsahWOJm3n35t4ljmVYdDLVI/rMpM9QV6 ST32DwPvOBW6oKfjsnS9NC7ebGj8L81Dv/k0zEt5TwqENNxDh6hJ9S9XyexchS6IwrI0 tbOYbbN34YL99GxJTAsFTrcrV1+euIjF57bUBfVtxvf3OiqNvtPEt1qX5+q8qLGgu+ZN c3Cg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si3953439edm.404.2020.09.19.03.20.15; Sat, 19 Sep 2020 03:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726256AbgISKTP (ORCPT + 99 others); Sat, 19 Sep 2020 06:19:15 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:46424 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726041AbgISKTP (ORCPT ); Sat, 19 Sep 2020 06:19:15 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 90EAC1C0B85; Sat, 19 Sep 2020 12:19:12 +0200 (CEST) Date: Sat, 19 Sep 2020 12:19:12 +0200 From: Pavel Machek To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: linux-leds@vger.kernel.org, Dan Murphy , =?utf-8?Q?Ond=C5=99ej?= Jirman , linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Subject: Re: [PATCH leds v2 50/50] leds: parse linux,default-trigger DT property in LED core Message-ID: <20200919101912.GC16109@duo.ucw.cz> References: <20200917223338.14164-1-marek.behun@nic.cz> <20200917223338.14164-51-marek.behun@nic.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4ZLFUWh1odzi/v6L" Content-Disposition: inline In-Reply-To: <20200917223338.14164-51-marek.behun@nic.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4ZLFUWh1odzi/v6L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > Do parsing of `linux,default-trigger` DT property to LED core. Currently > it is done in many different drivers and the code is repeated. >=20 > This patch removes the parsing from 21 drivers: > an30259a, aw2013, bcm6328, bcm6358, cr0014114, el15203000, gpio, > is31fl319x, is31fl32xx, lm3532, lm36274, lm3692x, lm3697, lp8860, > lt3593, max77650, mt6323, ns2, pm8058, tlc591xx and turris-omnia. >=20 > There are still 11 drivers that parse this property on their own because > they do not pass the led_init_data structure to the registering > function. I will try to refactor those in the future. I applied selected patches from the series... but it is not clear what this depends on so I'll avoid it for now. (Oh and thanks for the great work, BTW!) Please take a look at my -next tree.... and feel free to send me patches that still make sense. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --4ZLFUWh1odzi/v6L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX2XbIAAKCRAw5/Bqldv6 8jrGAJ0bhqHsWXb9ayqPNNerYPO8zlv43ACgo3c6/6kXESX1/qHvz2muwT+sqpA= =yTby -----END PGP SIGNATURE----- --4ZLFUWh1odzi/v6L--