Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3782985pxk; Tue, 29 Sep 2020 06:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxTSKLj/GAAvYAO2GTiRlb9rlrzA7tGY7vpAekpW5zblPqitU6AZnokJFxH61dmqbJMLd4 X-Received: by 2002:a7b:ca4a:: with SMTP id m10mr4567228wml.11.1601385333692; Tue, 29 Sep 2020 06:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601385333; cv=none; d=google.com; s=arc-20160816; b=xVQj87q3Q5IbF7hDW/sqYvmLA0RsALexQ8f3tSD2KYjaXePK2omgOAiQGnWB4H7O1t 7vrN3QIHlnlNFb2qG037pTpDAdAokSVW0A+ebxmuyAmyM3wpLThFU/ZiXgOSuy7kXPI0 N5mkoz+QtwP0kOjk8iNcWrTbTdFdFc9d6Pe/59pGfi8EB1Vxes53KR2AvPhA+mk/K8J0 S8XirATZWDjivNqQaK9Z3K7yThCv0Kd1Prud9ATZU7/+rxVghr10Beaf6K1nXb1bP2Hf x6gWO97gKxtldDQDn4N67hIr11JhagDTbSr7SMX2dZWZBzL8kXl2FD1Zk6/rwLvjow43 c3Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=piitBn56RFrmTdzxKCgKMNMaG7buUtqj3U42tB2+R4o=; b=aOCRTk797osWY1GlRZqiEU21OhBSInYK30gCIz+C6ES9020Xldvj/S6H/ZnZQy7cjM G3VzN8iSjNmk8p6cEbS9o1An7cTqAUgNUU9n5mDeWF4tK8GHpV5oNqG4cpSTAap30dWa bJkOhPM+hz5ELQuH6M2eTSNCKDjsQh7k1BEAaK56FBVA4GywWkXbSrJtzF1J5Fb0uVJ4 OhipDRg6lk7ZOjjuGXMeHVmnRkJx/5JR4bX7vdL4jlOnKCJEBzw7ZZgteWFbZ0zkzHaI o9e6JKLiVbWfYpHCGWGMlxq0Gz+x9ug/8qFtyEbN3o3zE5UBf3Jy4QRhYWanrkV9Ey53 xQIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IyfH3BiA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si3070997eda.321.2020.09.29.06.15.10; Tue, 29 Sep 2020 06:15:33 -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; dkim=pass header.i=@linaro.org header.s=google header.b=IyfH3BiA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728955AbgI2NOR (ORCPT + 99 others); Tue, 29 Sep 2020 09:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728441AbgI2NOQ (ORCPT ); Tue, 29 Sep 2020 09:14:16 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27546C0613D0 for ; Tue, 29 Sep 2020 06:14:16 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id q8so5439368lfb.6 for ; Tue, 29 Sep 2020 06:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=piitBn56RFrmTdzxKCgKMNMaG7buUtqj3U42tB2+R4o=; b=IyfH3BiA5+wCdKa78wiauvoqqjIP0kgktaFhQDORIlk135uvO+yH9+O759+Jh4KoVl StMrJQzpS3a6Z/XwYLdCLO4BkX6S8cZOSHC3B9gjano+pB4G8s9l2Iu5m0upEISh1Zap xJrWF04vvjmyzVD+UM54WcU1aWBeECKkm2WhIpLzfdHiVHX1N0me93/CWFaY5UzGJZ5+ lIuYDE881RWZJPCQ2RKIXXo5VoBb97bpEfOm0aZlLHeY/AIujZl5wtMDO8mRizVxB93o irM667NOqXeL7MkxlmHDQiUPpdXYjSYmleUZpuUHASkyHUWGegY32wUO1tcPqSIobt2H s1kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=piitBn56RFrmTdzxKCgKMNMaG7buUtqj3U42tB2+R4o=; b=FaDM9HOEIhoaWfJKCQJ42lTELkg72FFZXuuzCcEOChqgNWyqdaH1/FF45axBo6pYnh INMqzhX1/7qukoK1xxkVRsyrauRxqn0SULAENk+1QIFg7rN1ux3YTPlM+K3PEAXVzK9C nap+t8VZJyr3pT32eIrwoNkDqjAZKfJ/ouMrOZpy83lehC2rc5b9izbOoSos2/FSWmBM xtS8vphGekrVCOqKu//Q38ReTGqGqtyvq8fVo9lqDz4kK5dSWyyaOLrgM6c1xhPFT1Cl f4W3whDFvq9vbCPApi1qDwPu88l/Nr6NhwiMn0OqHLMfPtg7Vzq/3DFyJY1yrezWvyUL Fp9g== X-Gm-Message-State: AOAM530UtJZqDMenpKK8DylVmRO0DBpTtX+lMAfVH8MJ2w0G75Ab/JTQ Zj5XeG39E0x+pjZujRrKtsHriACHgmwHcJy2EK/fDQ== X-Received: by 2002:a19:6419:: with SMTP id y25mr1128689lfb.333.1601385254443; Tue, 29 Sep 2020 06:14:14 -0700 (PDT) MIME-Version: 1.0 References: <20200917223338.14164-1-marek.behun@nic.cz> <20200917223338.14164-21-marek.behun@nic.cz> In-Reply-To: <20200917223338.14164-21-marek.behun@nic.cz> From: Linus Walleij Date: Tue, 29 Sep 2020 15:14:03 +0200 Message-ID: Subject: Re: [PATCH leds v2 20/50] leds: pm8058: use struct led_init_data when registering To: =?UTF-8?B?TWFyZWsgQmVow7pu?= Cc: Linux LED Subsystem , Pavel Machek , Dan Murphy , =?UTF-8?Q?Ond=C5=99ej_Jirman?= , "linux-kernel@vger.kernel.org" , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Bjorn Andersson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 18, 2020 at 12:33 AM Marek Beh=C3=BAn wrot= e: > By using struct led_init_data when registering we do not need to parse > `label` DT property. Moreover `label` is deprecated and if it is not > present but `color` and `function` are, LED core will compose a name > from these properties instead. > > Signed-off-by: Marek Beh=C3=BAn > Cc: Linus Walleij > Cc: Bjorn Andersson For this and the other PM8058 patches: Acked-by: Linus Walleij Yours, Linus Walleij