From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94EA8C61DA4 for ; Mon, 13 Mar 2023 17:12:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbjCMRMq (ORCPT ); Mon, 13 Mar 2023 13:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbjCMRMh (ORCPT ); Mon, 13 Mar 2023 13:12:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8754378CAF; Mon, 13 Mar 2023 10:12:05 -0700 (PDT) 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 CB84061381; Mon, 13 Mar 2023 17:10:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42E9CC433D2; Mon, 13 Mar 2023 17:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678727457; bh=TfkrdOzkQUc6TYJLSK83JqRjukZ8MCdi1haBPS0yyd0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pg5VRXnIcngq7qvpO+FpDE6R2M9IgmqIhh4f6wpLvdqtR1ZOtUNyoCm781m0KZWH6 My3GnouAAoEZZwcWEGA+9gJJg9ydwXakZnwJcx4wPt/0QU9gb7AIPKNgTt3uwzX36a wR47lRLAQcQFTZFHgkSwVxvtuJM7RuqUdVxnSBpU7lNI2iNa4Imue5Ody4fUQODdc6 bktL8HhNj65VSir3iPDevgmTF2/3rETPzWdtzAAUa+9olqPQHZ0yS7JclZtrFzk8GM KecJM6MW3Bfnhc3EVLcdHMVcH/StNCI564vOghwn4W8tCCfuwKxkR4RQK2D2dNs1it QBMwARQKz/Kag== Date: Mon, 13 Mar 2023 17:10:53 +0000 From: Lee Jones To: Krzysztof Kozlowski Cc: Pavel Machek , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: tlc591xx: Mark OF related data as maybe unused Message-ID: <20230313171053.GX9667@google.com> References: <20230311111717.252019-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230311111717.252019-1-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org On Sat, 11 Mar 2023, Krzysztof Kozlowski wrote: > The driver can be compile tested with !CONFIG_OF making certain data > unused: > > drivers/leds/leds-tlc591xx.c:138:34: error: ‘of_tlc591xx_leds_match’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/leds/leds-tlc591xx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks -- Lee Jones [李琼斯]