Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp453986pxu; Fri, 11 Dec 2020 06:24:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzczb9dcIYlkVetHmBo8LKVsRWraqIg4nJM99so4bfNiUwp5ZoctUVcVCeBwF54vdiIQIRQ X-Received: by 2002:a05:6402:a53:: with SMTP id bt19mr12248223edb.104.1607696660589; Fri, 11 Dec 2020 06:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607696660; cv=none; d=google.com; s=arc-20160816; b=H+lGPzbdGfIv10WesSKTMynoFa+JjOaWfLdWjha95p7uJn8g8Fy6K7M+xqw5zKRc0V 0caaio3x+HaIbpB5Si0+2V+eRjexQR95q07D2VVK/UxorSLeSDAR40rL47h+ahFvK0wD a+55Yqn9S3nrjkkyNHyCofkQjFULaasPH7XdBcAda7arpBHMlKpVpoBZOYSA/EDtLcys SigmjrE86TIVaevF+5HS7A1OErINaccnhZvUdwWlwcwy1o8t8RHHRI8WRpCr53M9zOl2 FjHG3nZTSB5OUiZK7NUpZ8ZMuEKxGM+u3p9of0CSXfrXVq7jeVPBvYmjEknbV4OAhJXm lwdw== 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=BhfA17yX25iKddxUIUJtENubnbHi9GGFZ2BMo1umxpg=; b=Roc4+OfxgdIgWV3p537ieadH2awPXr2G+c1iTc3pVcRvjZ/iDqah3UXfmWwxlgKlNI oBeBkwM/ezWPIlEUBsemKMUeOmR1PsU0bp+uJo+5yBgbldhMTnIIF3s1W9MwdwIR+XKF tgn1T9BKWM9BTkJWiNhzl1H7Sf/kL8wv/X5WoKaI7nPz3/qvtg1vVySCjjWTQ0y+dsWP nGaZIUjbNcaHjzoTuF+LupDULfS1VvjQ1PCl3IsaH9VyRILHwr/gHSNhkwsGEl56JZvF jRaSbHFjs7eta3u8ihfblFwcrUocoyDpbexo1x0NBzVE0Wt0olYzH2hFs3q0+u+QEspH 5jPg== 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 x13si4421142ejb.243.2020.12.11.06.23.57; Fri, 11 Dec 2020 06:24:20 -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 S1731914AbgLKNgu (ORCPT + 99 others); Fri, 11 Dec 2020 08:36:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731002AbgLKNgQ (ORCPT ); Fri, 11 Dec 2020 08:36:16 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B26C061794 for ; Fri, 11 Dec 2020 05:35:35 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id 31bZ2400R4C55Sk011bZFS; Fri, 11 Dec 2020 14:35:33 +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 1knia5-009hlK-8y; Fri, 11 Dec 2020 14:35:33 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1knia4-00CSeQ-KT; Fri, 11 Dec 2020 14:35:32 +0100 From: Geert Uytterhoeven To: Jean Delvare , Guenter Roeck Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] hwmon: (xgene) Drop bogus __refdata annotation Date: Fri, 11 Dec 2020 14:35:31 +0100 Message-Id: <20201211133531.2970027-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 X-Gene hardware monitoring driver does not have any code or data located in initmem, there is no need to annotate the xgene_hwmon_driver structure with __refdata. Drop the annotation, to avoid suppressing future section warnings. Signed-off-by: Geert Uytterhoeven --- drivers/hwmon/xgene-hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c index f2a5af239c9569b2..1489e83cb0c44011 100644 --- a/drivers/hwmon/xgene-hwmon.c +++ b/drivers/hwmon/xgene-hwmon.c @@ -784,7 +784,7 @@ static const struct of_device_id xgene_hwmon_of_match[] = { }; MODULE_DEVICE_TABLE(of, xgene_hwmon_of_match); -static struct platform_driver xgene_hwmon_driver __refdata = { +static struct platform_driver xgene_hwmon_driver = { .probe = xgene_hwmon_probe, .remove = xgene_hwmon_remove, .driver = { -- 2.25.1