Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1260430rwb; Thu, 19 Jan 2023 08:26:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtuwuGnM6mpiDTewgEbFZsESfzoqBIE2LhYxbgpm+48xBUmECaZNCIW8w2nDIK1zNkjFKAM X-Received: by 2002:a17:906:a88c:b0:7c1:5098:907a with SMTP id ha12-20020a170906a88c00b007c15098907amr11790713ejb.35.1674145599762; Thu, 19 Jan 2023 08:26:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674145599; cv=none; d=google.com; s=arc-20160816; b=UZi2GVjtH+O5IP2amREoNCzapv2xzFCmkkHN/5HScGtkRMY/BXiWd+/18NHoCAQLj8 9AF/jprRh1YlBAPS/S2Y5E36ivUb36wsAU/u3TzHDihPyWml6j7iXtoYUlgDN77CVNio 8blmm7P8/3CMEQDkHbS/Ml9oFmNpGsJOz5SAAIhBzJZT43SN7bNMgEEZtLQBCeiaEmeT xWkH5x0zBPifzdVjNWMoguM9sjPIpFklZHUtKH7dWYLaVw7VIGAd54VxIJ0jF2/iMAiq diZl9BZtD5VAJkhcT+HI9YYVVS8BpO47YNxOloCfXF+K031tH4X7dqu3PE0abrM9+imr cunw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HSuTQc2/9jWNrNFP7AdFrBcpFSfJiI3B/vtGJ4lkM90=; b=ZiSe74xiMY5Mk0Wagh1ng6k5TRDROeT0H930/0E+hFYNPAKbds4vyLKEOVb1vh4K/Z k8tCTj3yNCcLchTgiaRzK1z9SN1FT2fr0FOfKmsq+7Q8jL6RYhs/VpcKEKBbFxKUm/rq sH5ETyfqx6sX0FiR4N73LFlDkZ05jRCHkaKZr+Ivc6SKpw7N5zga1TNaR3017bLT1zng 3o3GVYukh+xBXK6exK5tK+PEueMny2/wPHssv4cWW2PEvQz8RorOG0FtDWbEPbQ8Z29q eKsR0D7aRUoD++hZMqxFz0aoqzIb9j13i3wHjC4aRaFHczWuIVjskGGU7wxXHAt/Fm55 s0Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmRWLBZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa30-20020a170907869e00b008776aa668fesi3905303ejc.254.2023.01.19.08.26.28; Thu, 19 Jan 2023 08:26:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XmRWLBZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbjASQRs (ORCPT + 45 others); Thu, 19 Jan 2023 11:17:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbjASQRa (ORCPT ); Thu, 19 Jan 2023 11:17:30 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E01382D44; Thu, 19 Jan 2023 08:17:22 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3000161CBC; Thu, 19 Jan 2023 16:17:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40C94C433D2; Thu, 19 Jan 2023 16:17:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674145041; bh=I4UV/ZFa5sN0ljDlr5qmIib/5HOXj3xcEjz22nxpESs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XmRWLBZ9Sj2J4wnmS0yEkR6ZwBpbie8Dl7OfyRAyWr19jxqPveXzvG/qGacYmhp9B WAAqTSQWDP47CvRtTR5BaOl5voYJGf15mCGETDFTzANIhNahQd1Q/R78a1/mEDm/2M n/gUsYXBB+7XK6/EZ0xd+TJ1rvFC1nw1Cb21BJawArxTQCx6G0jB67XL4NO0xfnt9G NkzEA8AFQglFea4Pvd3b4V1wHS8Om6pjcBix6SWifXdy2hqIXG60LkK4boXb9H5M5I QceoS8og/cRl3dePeUzBvnmAvye0RQp4dTBvl45geyCwVFMFrs+GgI0uPGXZT8USHN qWX/oE53Z2IvQ== Date: Thu, 19 Jan 2023 16:17:13 +0000 From: Lee Jones To: Andy Shevchenko Cc: Gene Chen , linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Pavel Machek , Matthias Brugger , Sean Wang , Kurt Kanzenbach , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: Re: [PATCH v4 02/11] leds: Move led_init_default_state_get() to the global header Message-ID: References: <20230103131256.33894-1-andriy.shevchenko@linux.intel.com> <20230103131256.33894-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230103131256.33894-3-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 03 Jan 2023, Andy Shevchenko wrote: > There are users inside and outside LED framework that have implemented > a local copy of led_init_default_state_get(). In order to deduplicate > that, as the first step move the declaration from LED header to the > global one. > > Signed-off-by: Andy Shevchenko > --- > drivers/leds/leds.h | 1 - > include/linux/leds.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletion(-) Applied, thanks -- Lee Jones [李琼斯]