Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2594401lqz; Wed, 3 Apr 2024 02:52:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFnCRJnPVNPTwIe8OD/pJdw/sjqDQunyWoE9hSG2bNC/krOjZkRQS4+vkIEF3cGz7cphO93U4LdWfpcX6le9zBu2ZHjGcFOSix35Vk3A== X-Google-Smtp-Source: AGHT+IH4CmjKLMTlxmNmqUej1ODU2+DTGCGb45tGwSsEmDIq7+dHmCw8ywF6klx6I7decKuYUxHN X-Received: by 2002:a17:907:7213:b0:a50:e067:e211 with SMTP id dr19-20020a170907721300b00a50e067e211mr479780ejc.36.1712137957083; Wed, 03 Apr 2024 02:52:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712137957; cv=pass; d=google.com; s=arc-20160816; b=RByeTB59RODD2G0j5Q4N8PzpEBvBLmzkqcN2XKzStVjHp04qxvN+c/gBqffoFL83FH ZLijFJTK3TtvHevMCPJLmZ+iN0ieJMLwvExklFu+v/jzZ5zuR9tNd5sWKu66BTX+BrtF otQBBJLDw8chvHUFgO0Eaxh0WaEezacLDDnnA6mo5OxEIcx8NSPsTOtvUSyGE7iRHwJH 3H5AYUEowet2vrfAahE7/cRPgiHmRWqgj08sVIysPsXemQ36q1EuiwgImnph9wo4ZCs5 Nxi3+CwJ/NxwbAgQIAk/uFQjUf5xr1dyswQ2Kh+WfUN8pQz17dssSyAxJCjomShAN+2s i2dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Bh7wBi8WWtCQt6nVIMQjgvFVk1AS3gMEUMeiD99RuYQ=; fh=MyFh1Yg3OdfgNyHRO9Bvlt0dwuocMkryYATSRIpiVoU=; b=RdoqdsP2qqNzz/aH5+GDLr0APfQwWJg+S0l4aWq57o0tcS6VjTUObJxQr/vS/8+9yO 0cB53e6UX0N8DVK2EnT12G/suBDj0oWtXuBcAc5O0UQ9boEcS/jwHB6WgH/yZqB2AJbE pgLXW8ARNEKT6igZ4QaFIeKuexrewLh7gB2Jxow5gmgT9B/tNhfWU2r6O7Zml5PF597F WI1ktCS3gEjP3y/x3FgAenq/LB1ssFSauq5xX6fJxWS8IVGISzJFyFCTL9FkxXwUMh2f fRbzZSMjPrBEaJ0qRZx6SDufWKoYBFXOA1Qu5SfzuC/uRPlfqWPK9c+XLfE5UpPpMS9L ZahQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcqVEneN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kl9-20020a170907994900b00a4e69bc55e0si2946433ejc.123.2024.04.03.02.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 02:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcqVEneN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2108A1F28628 for ; Wed, 3 Apr 2024 09:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E4EB1350CA; Wed, 3 Apr 2024 09:52:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AcqVEneN" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 745006EB73 for ; Wed, 3 Apr 2024 09:52:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712137938; cv=none; b=tODSX5fBkak1ENXLuonYX3DX7Sw4Oy6zaE1U8PgLVyXTwTK9y8eBrNmTt88AsvyxePiM9VIj36tnCvLVfZN1N3ObY4dRkG+04uRkYhybQKoC0BAii0Tbgd3lIcSxTXp8b0aYVoC07fibJqsjjGFS4ICzMXSA9r6VhlrPQVRSq2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712137938; c=relaxed/simple; bh=hlOw2/7Vi3LeM5RWn5MXYhGfJTlU67UcasQqIQQVS7o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gTFreB107pQ3J9d40mY7affAP0h9NuzOo2hJsosN0AiJnpvHhtXvypS3qGYyLBwrdjHdo1c0jEFFOgslsypn0kqjy2EGH17dMSjV5UsxI1AtXeVaUKHVST/w0U79fXfyFMPqjUjfddw7rKWJfdF1qvX7kLVs9f+tpXLhcatHd+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AcqVEneN; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a4e61accceaso477552866b.2 for ; Wed, 03 Apr 2024 02:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712137935; x=1712742735; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=Bh7wBi8WWtCQt6nVIMQjgvFVk1AS3gMEUMeiD99RuYQ=; b=AcqVEneNG9jM5+BOUd5JmcZao2uN4l4wWAifvvCvTY8GLAtUtRtvsYd52n631UigC1 MBi1fwb3w1U02PilVMJO8HLyafuo/EdfMca1uahSSu9SLd9alZRUoCDgV/Wuugmp/EZI k2r824vDvCPDkLq3HO9/46iMJPMTc/B5mGG360Oapc8q2W6Fq+Fgpw75vFMQRF5jf8XF srN8X2dgO3tsFYD1Z3vMuKRDiOF2hDtUPA5JYg/hXCt7+04RzP/X0OENxofIJ89pGUyi FYCvNKjSDW/TgghGC/D0qCpI/22GuhfgD0rvKLjQGsIsJPmvS2Ae+65ESH/6IcleHbXF e3GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712137935; x=1712742735; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Bh7wBi8WWtCQt6nVIMQjgvFVk1AS3gMEUMeiD99RuYQ=; b=H5Hkd4MY8kMhXd9z5MieRl2C06aJ9WxLuN1DzTGIBaMBK7m9z6mGl2B6eYWSKYl10R MHGxiGbcgAwUfd7b48b8yBMpOVdnHsq7/RU7368phdiKz5J4Dx4IJZspqQ0e1SuI//QC E+l6qXoCJX99Ai9/1eiEnBU8SWGwwQ9bktx9vZA0G6Rv0izEunAznFGG51i0MqWLy0ji bSRRKoubVhdgcLuWSnRF1X2FFDFROAJEXSpxDUeNLhI1IFjylImubtAcl8Rqahumuf8X nroWIsK96TSQxiKXwntP3K+8dwMUfZReT7XevU9fE2OVfCCH+A2phyxh/5MS+xUWDPW3 SByw== X-Gm-Message-State: AOJu0Yw8GLZiN7uJCp4J7LUN3O6ccvub0C4ZQtko6iDd487MeEzqRJ1n VA6hkmaWXs4+fLvCmZOMFrHHL4jlMK0ogSOF0n4XkDDImkwIoOo0ytnTgpZL/DM= X-Received: by 2002:a17:906:abc1:b0:a47:533f:2d0f with SMTP id kq1-20020a170906abc100b00a47533f2d0fmr9118717ejb.66.1712137934880; Wed, 03 Apr 2024 02:52:14 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id f19-20020a17090631d300b00a46a27794f6sm7478708ejf.123.2024.04.03.02.52.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 02:52:14 -0700 (PDT) Message-ID: <614fc80a-5d2a-43a1-b8d4-48bdb2cc7dc7@linaro.org> Date: Wed, 3 Apr 2024 11:52:12 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 07/34] Input: stmpe-ts - mark OF related data as maybe unused To: Andy Shevchenko , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Maxime Coquelin , Alexandre Torgue , Arnd Bergmann , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org References: <20240403080702.3509288-1-arnd@kernel.org> <20240403080702.3509288-8-arnd@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p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06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/04/2024 11:40, Andy Shevchenko wrote: > On Wed, Apr 03, 2024 at 10:06:25AM +0200, Arnd Bergmann wrote: >> From: Krzysztof Kozlowski >> >> When compile tested with W=1 on x86_64 with driver as built-in: >> >> stmpe-ts.c:371:34: error: unused variable 'stmpe_ts_ids' [-Werror,-Wunused-const-variable] > > ... > >> -static const struct of_device_id stmpe_ts_ids[] = { >> +static const struct of_device_id stmpe_ts_ids[] __maybe_unused = { > > __maybe_unused? > > Why not adding it into .driver as you have done in another patch in this series? Because there is no benefit in this. This is instantiated by MFD, so the only thing you need is entry for module loading. Best regards, Krzysztof