Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1464481pxv; Fri, 16 Jul 2021 09:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoTa85hv5horrmRqnVvOKeFxYQw4rrimTMUjwSsdpZ8twT/wbq/XaHKqkFxUGHz9oulTsu X-Received: by 2002:a17:906:544f:: with SMTP id d15mr12696880ejp.520.1626454477984; Fri, 16 Jul 2021 09:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626454477; cv=none; d=google.com; s=arc-20160816; b=ESj3OJwxgt1ZFZKRpBYfASwnbN98XMcQZS1npOwx5elQ2UEV3hCQr9q+J7W50Wv3yu l1yThsXExpr7Z2gP096uzLuDWFn1xsv0Lr5qJse5YKch36rRijnlqVdpq1za0DY677ov AInfsO1SYYGRI3oxdtc6N7fL+PRWCdhxgulKHLGgwd6jO6+ZCAqB65ok7aozowkrDoAi nDQPfd+uHDL6lhkyPa5vWwmHD0Po3q+UDYmwve2fgwIDLjpbzFqzLYCt2VzjbXJ4rEf+ YO4wqk5jYeC3Qf2AFVh4ObmXTjhMWBe3doE+0+9ILWr6djjRzjy2tou20o4oHpMWjFvn Mn/w== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=zu2zqZr8fwBx6TnJwbbsVdN0rRyvHrlTl/pFam/zYP4=; b=CyEVA1fJ9VkPYp1YOuTKXTZ7DJiuwaOsxVJ/+ZxzkOsLGevgnxLp6mX123Fj3RHX+Q djARRDq6AGTevkpda+ogbzxpYIRbBIBuQg2AbGJcjd1BCaFj+yx/MPa0FbIBAIOzW4ek qHhSb43LOvCczDzmWPAvJomqaczADjZ6kbDZx23TgvmajZ6uM5LKj9XsPtgKZjz2DMcK lERTE03ZBhCU3rrQWhrCPdqayj0kNddP3xCq48L/Q/LfbeAkeY3nsi1JDWGK2a8hNycZ L1vGoNt1INGUS1qaxxJ3Se9oNAEQPZWSgs9eAyeO1WsMOKr2OiybmOST1/aVI/awLOhn iP4g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si13264941ejv.754.2021.07.16.09.54.14; Fri, 16 Jul 2021 09:54:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229581AbhGPQyF (ORCPT + 99 others); Fri, 16 Jul 2021 12:54:05 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56661 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230059AbhGPQyF (ORCPT ); Fri, 16 Jul 2021 12:54:05 -0400 Received: (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 46A79C0004; Fri, 16 Jul 2021 16:51:09 +0000 (UTC) Date: Fri, 16 Jul 2021 18:51:08 +0200 From: Alexandre Belloni To: Geert Uytterhoeven Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH resend] Input: adc-keys - drop bogus __refdata annotation Message-ID: References: <7091e8213602be64826fd689a7337246d218f3b1.1626255421.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7091e8213602be64826fd689a7337246d218f3b1.1626255421.git.geert+renesas@glider.be> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/07/2021 11:38:33+0200, Geert Uytterhoeven wrote: > As the ADC ladder input driver does not have any code or data located in > initmem, there is no need to annotate the adc_keys_driver structure with > __refdata. Drop the annotation, to avoid suppressing future section > warnings. > > Signed-off-by: Geert Uytterhoeven Acked-by: Alexandre Belloni I must admit I can't remember why I used that annotation... > --- > drivers/input/keyboard/adc-keys.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/keyboard/adc-keys.c b/drivers/input/keyboard/adc-keys.c > index 6d5be48d1b3d7988..bf72ab8df817756f 100644 > --- a/drivers/input/keyboard/adc-keys.c > +++ b/drivers/input/keyboard/adc-keys.c > @@ -193,7 +193,7 @@ static const struct of_device_id adc_keys_of_match[] = { > MODULE_DEVICE_TABLE(of, adc_keys_of_match); > #endif > > -static struct platform_driver __refdata adc_keys_driver = { > +static struct platform_driver adc_keys_driver = { > .driver = { > .name = "adc_keys", > .of_match_table = of_match_ptr(adc_keys_of_match), > -- > 2.25.1 > -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com