Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp453804pxu; Fri, 11 Dec 2020 06:24:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHNNuzKeH214kaX/xTWebzbUHqjmbwgBIvtTodV0SH04D/bDKgL+aqlMDJSQmTwMlTN0In X-Received: by 2002:a17:906:77ce:: with SMTP id m14mr11515275ejn.10.1607696647346; Fri, 11 Dec 2020 06:24:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607696647; cv=none; d=google.com; s=arc-20160816; b=XABAFAsaAPgPzUSj96VxjiMQhQxHJqdGRlR1UrMNXJ+FqjFSk3niSfif2HVSjzS4wx M7Keyz2HoRVSlTrGMoVFd554dHgibidRebnxqkcYa+HdfqHefGGeKeMd/RXw0Ml/kSHa AsOe6WM3HfHLlDnFQTEqE6rc/rbQjKasrD8+ReqhS7W8AfY6n3sWiKBkZD1ekkdZQZuE UjbNz1pOIncFGn9KiAr+euDdIVJwUhyJ+CkAv+4Eh9yOwNBz5o/yGg5K5oen+xfc0Htp 9uA2F641WLvvanbGaSsg2aIHsgzbsKxoJaozY/kETQx470IhvJqwLFFiSmEkb61n0QAs LkDA== 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=R/6KcVUcZ3G6zVgr7kBt8IPe06tfMacnGiPAUSR1dcc=; b=MxX9fh3gjIau0Q77ACA+NkHc7PonTGQPeAqGckz3IS/FDrA11yxcNrJG94rNiWpump aCUR3Jys+VGGXEhFiVhYF4nRwLLoLOs9tnL6Ay28KrqdjgZ/TX3Eo2NYaOLHOjmWYOK/ Jf9naWNNO8GNZbq0v3c7jkSXl+n53BgcdikmaRFpViuscWylJd7uJ7XX+esdvbHGak2R GAmh4Un+8Y3Tk5RGBT4bTjmJChqoz3Jg33yBe/YLUAS3aGpugIN35y++JDDNNYQt+qVP 67R0bDCViTYeUOl3a9Ba3xpMwQviPPtJNZK/kFJ7L053Ve7ydrDInQD7hpetOAuZJ6x6 cTcw== 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 f5si4543010ejw.117.2020.12.11.06.23.43; Fri, 11 Dec 2020 06:24:07 -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 S1726313AbgLKNgJ (ORCPT + 99 others); Fri, 11 Dec 2020 08:36:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbgLKNf7 (ORCPT ); Fri, 11 Dec 2020 08:35:59 -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 1E197C0613D3 for ; Fri, 11 Dec 2020 05:35:18 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id 31bD2400Z4C55Sk011bDtf; Fri, 11 Dec 2020 14:35:14 +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 1kniZl-009hkM-Kk; Fri, 11 Dec 2020 14:35:13 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kniZl-00CSdD-61; Fri, 11 Dec 2020 14:35:13 +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: (iio_hwmon) Drop bogus __refdata annotation Date: Fri, 11 Dec 2020 14:35:12 +0100 Message-Id: <20201211133512.2969952-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 IIO hardware monitoring driver does not have any code or data located in initmem, there is no need to annotate the iio_hwmon_driver structure with __refdata. Drop the annotation, to avoid suppressing future section warnings. Signed-off-by: Geert Uytterhoeven --- drivers/hwmon/iio_hwmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c index b85a125dd86f46a2..580a7d125b88667b 100644 --- a/drivers/hwmon/iio_hwmon.c +++ b/drivers/hwmon/iio_hwmon.c @@ -169,7 +169,7 @@ static const struct of_device_id iio_hwmon_of_match[] = { }; MODULE_DEVICE_TABLE(of, iio_hwmon_of_match); -static struct platform_driver __refdata iio_hwmon_driver = { +static struct platform_driver iio_hwmon_driver = { .driver = { .name = "iio_hwmon", .of_match_table = iio_hwmon_of_match, -- 2.25.1