Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp454232pxu; Fri, 11 Dec 2020 06:24:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjNCIxuSIv+NPA1vHNX34xMki41qQizbkedFbZUT3e37GWtBhIw6w94wlT4PRHO44QWjJa X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr10848221ejb.360.1607696675940; Fri, 11 Dec 2020 06:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607696675; cv=none; d=google.com; s=arc-20160816; b=Fp374C/PO8osjKO9e0FIsYBcrySzxzNUgucKz/wKA7o4pieeY6OGlkniGxBOWQxyoF tcrTrw4V3Ihn1zkkTduD0hpHU9GM7DZnesVqfZnUXiI7GN72ztvH3uk/1uVLBXrz4rCT GZkucY/MyS/xW0e6jzu6pKKtTjaUKdOBQzgrHYUqjIEHj6B2vk+K8cYT2Z5H/l3v7WuX 2DbEegQwfHGyslukDngXkulSonzdOiY4JATM28kwTfvCJu/1WvHuJ8pExJ7pnmcXsykX GU+BRd0Hysa16OAcyR65eqb0nrQ1QW0+XhlL+ULpid+vll5OQC+LGBr7YNxqfqMz6qsR PQTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LCeqf/IlMI9HfTmDxqAaSdcEKCqj/viAxJCVYkD4wJ4=; b=jEYeZJh+3pyjWMrQ9hMTxnXdfVkKSLYfYdComstrHfU2nlwGJ416y+t+CeHKzRWKIJ iHltXhtfZ8j0LbLfhAFq6bamNccNaQgGtLRlhiV+WwvWaGJDcbRbK/NWTgCFC549CA9v b0MBtItteJ40Su5VdVaZc9er84pEyehhyITN0qDfHC0A24NTbmOvS69UQWEWYlO+YUmJ CDRfO8ynVxMKPbsGMLJcZUAswkC7GHCSaC1SGZBHGiyKv2d0dsq8Ze/u+sW5LNTI8KPd Aaz4rxIjbBNeOHa73HIsXXdvozJaGnOLDJLMI2st3BFS9dy2TqbGP0PKCF7fiyJfMWin BusA== 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 dj1si4761734edb.346.2020.12.11.06.24.12; Fri, 11 Dec 2020 06:24:35 -0800 (PST) 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 S2390014AbgLKNhp (ORCPT + 99 others); Fri, 11 Dec 2020 08:37:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387808AbgLKNhe (ORCPT ); Fri, 11 Dec 2020 08:37:34 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F4014C0613CF for ; Fri, 11 Dec 2020 05:36:53 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id 31cs2400K4C55Sk011csMz; Fri, 11 Dec 2020 14:36:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1knibM-009i8V-9G; Fri, 11 Dec 2020 14:36:52 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1knibL-00CSgv-HC; Fri, 11 Dec 2020 14:36:51 +0100 From: Geert Uytterhoeven To: Dmitry Torokhov , Alexandre Belloni Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] Input: adc-keys - drop bogus __refdata annotation Date: Fri, 11 Dec 2020 14:36:50 +0100 Message-Id: <20201211133650.2970182-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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