Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2616643lqz; Wed, 3 Apr 2024 03:42:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgIwWoipsO1SJbOdkfx1D5QNa246qEFMhmSBYqjXZNeUBeoyhV9m3ltbRf8HgWpBavqjbH2v/ra7BT0EtsNBrNKL+lFrIPw/HmzoqTjA== X-Google-Smtp-Source: AGHT+IFdIc553cG0yjYHCA67uzhV38rF9hAutUZcRCIXL3/b9kOQ2olIxVRlLS6RK12NSq2MYUQg X-Received: by 2002:a17:902:e808:b0:1e2:23b8:9885 with SMTP id u8-20020a170902e80800b001e223b89885mr15925414plg.53.1712140947016; Wed, 03 Apr 2024 03:42:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712140947; cv=pass; d=google.com; s=arc-20160816; b=ahJ+aMKOQRHxku/BHbDCgozg/WJAy4/YINxU3poCOHDvP/+mPSAF51Cu4H/+zdl2Ke xdV6vWchMjP2xoIX1Jy+f60NoWnoaCV+v7fKI+eSthF/L+e8JJ7w26R0REVVDt1lCNtp BPRfsEzDOOWwzquSULjHy3WzbCvRBBmWclmx6Obl4Eon9dxf0IfZbGctz0fpVBWEI2bm 110w0p74bHy7zjUn4QE5QD2rIZQJ7VQQmcP2vGw3fwiCA2+vGk+1/WK0/myab6GEVcrz 28V/JkFmEmdHe5gKWqbEIZiR0fnxGb1aYV8qErZnO0UokmBEewx+1K+w7ehvdpFr0fY5 OgWg== 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=myCgdA0h68H3QUNWwYVoFe/9Mdd1M32UgiW7MLHEsoE=; fh=eWSX/3xjUBOCvpbbCytMWBnwZEPE1Sc8Jjm2o4VIeug=; b=mINZjWnchX6qeMD9ALjQ/2GzicORRfCT+92E1RuBPAkSda9dsv+r1oaISS1KNWKLCw +8wvTyDhW2rDHcbQP+rnUe6bPo6OBXksuCI2x7AdPmAYyuEJJrcfYOwtKwfk9MyGHhNy Qbe6y3Dk8qPvrrjpBf5UBl+ZbtrTEJbm1xaRvjxQv7N+jjT2P1YRwv58xRjnjusmRNxO 4lDANw12lYJM/Q/vGYPzS1WsC827wleg7DIVI9HfQZ8MVsVCRkpvv4Od+q3QFFu3pkm3 uHF4XGkYNZFxD6/3O9vffDR5041WwgYGM77+QDjuX9lxSLPcPfQgZvCvHZW8GtdiNzoo PpSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pz+5n47K; 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-129509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b11-20020a170902650b00b001e27b4e17d7si2439803plk.651.2024.04.03.03.42.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 03:42:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pz+5n47K; 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-129509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129509-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9891BB2D889 for ; Wed, 3 Apr 2024 10:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02CFB13A40C; Wed, 3 Apr 2024 10:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pz+5n47K" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 4FA571386C5 for ; Wed, 3 Apr 2024 10:10:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712139022; cv=none; b=Q+HIjoEAj3Q7PHiQK9x1A8qHv9obJFAPv4+sJgxkNsekcZt2g6tM8M9JmhlOhKCD8lVHLbATEqvlcwudt5lpvx6wZiEK7B+hd8P3IjlISxRTDFAl6jj0c1pJA4UV5C+VkL0eHof6m4rkGQl90w3LBGHZKUr5hG3IYSQ/noBrOzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712139022; c=relaxed/simple; bh=4uGMQrFPmMMy3ZJ9e8HYcL/S0PhoQSY/aYKBvnJjkog=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=p5gqkeNXL0IZVfePuYPfx+7djB03MdlyF3M7aIzqt8/Xiuu8FX6SPsxrfYM4Ku5iQdDbCS/CRUIHhgVGvnUxZ459iwGssjq3kbCwnFJfqPLmV9CktLOn2BWPuaF7T9+bvOE9hSHNLMKZIYBUFyVYiQjxiiq1wi1NoRyngWW3GWE= 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=pz+5n47K; arc=none smtp.client-ip=209.85.218.42 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-f42.google.com with SMTP id a640c23a62f3a-a4715d4c2cbso825038966b.1 for ; Wed, 03 Apr 2024 03:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712139019; x=1712743819; 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=myCgdA0h68H3QUNWwYVoFe/9Mdd1M32UgiW7MLHEsoE=; b=pz+5n47KmXXjars6V7g/4QXvWsVionbi+LuqEUyBBPeOP5ptWUlhChrbcPnrIlD6F1 lhARFvpjJjg3qZ8GiBxhBLz4n1NMUllO5+Kh62bjLq/TMovELJfOtj5WbKxAC26OUTLQ cFjI2PKFJ83BVYPiUxpJpV532a2SEswikOuv7WR/KbWZ7PBpYTOUDlDVP59HdFs06VH6 ji5DifLh/OsydCRMRv3jSnvZxV61qx8ZdIkkqEG7pNozvvTv3scY4Rpw5a0EQUsIQgZR 7t8UsvYCMqqLBbvdTRzjxpqJOBAuHCGOCyU/36MVGBG2gqQ1dx/4xGcpWCauDdP3EyLO oGtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712139019; x=1712743819; 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=myCgdA0h68H3QUNWwYVoFe/9Mdd1M32UgiW7MLHEsoE=; b=hxeCK/P6VtOQzWiN1eXDF/pBz/Pq1u0UdfXlrFLaPRpmB8MfnvUbOYoFKzeU2o/E7s gMBQzE88OKSpVaRdESISCfKuvUlCHMLuj5NCZ10gRNMRepQJeM4jgwkNaeZrJ4bvLEq+ CM3dU+eSjLQLaj29kI9Cjvpj5wQja4/4O+UCII+iJgrRE+lhc2rxGM0HLMZyi7ELa8Up uOTiDChnKE9BlKPwVvfz3HXR3g82gHVMEQzrUFYY7Xf9dd8oQ3iJGzRz0cE8iqE/iU6V eeh+GBH9Q3V3YD7DYoBdkJLVNad2oWOnSYK5QlSGElp6u/bX2gl6+NvOi56Ts0lY/2fQ Yinw== X-Forwarded-Encrypted: i=1; AJvYcCV+0gVUWlfaeAVGovJwTWZSuD0WfBNqwjAY6B4OSHAQi1OebPbColHrN7YlT6z6YemIBBg7oSzvE8b9X+OFMnJUPY7RMPDFFT4fOxPp X-Gm-Message-State: AOJu0YzJgaozMZrsM6darTfBBbEb1B/t3rTFiVQAg+6pXQBdiQ37zO90 kf/et1PyXfYOaT+xqfTXRKcOntKXIVWPC8IfyOhxbfeSIHh58ytFLXweFksLnZo7KL0+xOp8uxE Z X-Received: by 2002:a17:906:1914:b0:a47:4b39:ba1c with SMTP id a20-20020a170906191400b00a474b39ba1cmr1452990eje.39.1712139018628; Wed, 03 Apr 2024 03:10:18 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id xf6-20020a17090731c600b00a4e56e4e051sm4693217ejb.94.2024.04.03.03.10.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 03:10:18 -0700 (PDT) Message-ID: <92c7ec52-a7a1-4639-aca7-ffeb643ae6b8@linaro.org> Date: Wed, 3 Apr 2024 12:10:16 +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 Cc: Arnd Bergmann , 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> <614fc80a-5d2a-43a1-b8d4-48bdb2cc7dc7@linaro.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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fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/04/2024 12:03, Andy Shevchenko wrote: > On Wed, Apr 03, 2024 at 11:52:12AM +0200, Krzysztof Kozlowski wrote: >> On 03/04/2024 11:40, Andy Shevchenko wrote: >>> On Wed, Apr 03, 2024 at 10:06:25AM +0200, Arnd Bergmann wrote: > > ... > >>>> -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. > > Hmm... Seems to me rather a good candidate for MODULE_ALIAS in this case. No? No, I do not think module alias is for that purpose. This is a valid compatible, documented and provided by DT so it is expected to be in of_device_id. Best regards, Krzysztof