Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp614201pxu; Fri, 11 Dec 2020 10:00:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxWo2WOW35RmADBd5ADZ9B+pWA1nq9nh+6rlV+WxfdUegGmYYyg4umrHDRY2YVSWkI3u9JJ X-Received: by 2002:aa7:c698:: with SMTP id n24mr12899021edq.277.1607709609175; Fri, 11 Dec 2020 10:00:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607709609; cv=none; d=google.com; s=arc-20160816; b=Pyz4xXfGOFmCPA9lU5/+yXb/ZPKwPbDUsvCZvFKswq7IChFG1PPS9EoONVRQIn1Kjm NuhUVxDfWproDHSFaxfU1Y2KXqfJKUojDsLCWIkQF4SakzujamowrwiCykekHCKoppht Q2K6fawAlTpm013EfFldEC05MUrcEM81QcfQZ8g1TP0H85nAxWJLOmMF/Q58yPzzqWYE KVgSLXbZAM4gI56R5e1SwO4MREKD1Ey1RnMLbHB4yGWh7Se3MsVsUCO4LO5KEDW/cRX2 yHoTPfddnhL60JsAXZv4jgeQm1g9aZo5netI41ZfSBTUGBks49Lm8M0jFJH2BJxwmNIu SBAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=01PhC2q+jlB/js2aczNBJqVgU/vdIoCNeZuEMcfKJHw=; b=Mj7qsGv/pKEdVfnmeqNY4Q04dRYBhL0XrXKdf5apyNOd3/Lt8pK1Z11aN+spiKphVQ TWpisbHMXD/6btU+/S4F1osMXF7bghXnKOVfrzho39aGcTgXYR+3IOOWO7203XSM+Pqq Ptb+F0EAiu17jbsiFgABNRvj9QyH8sOxBgFtFS7eWOAJJ3ZJR9pxp9nwiB0xI+MX3kC5 L5k6YXtLYxTgcRDs6GW97GMphCnXihbPpxOxhD6EbY9Hfy8grz2p/qr+HkBt5iX1ZDgG cT5jgltDctUl+gql5XhYdZfr7VSOF7SQsXP8N4f/HHX8Q5GoX6DGxVWorQu7arCjwSAK NYeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=swCvbnUC; 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 j26si5434633eds.457.2020.12.11.09.59.46; Fri, 11 Dec 2020 10:00:09 -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; dkim=fail header.i=@roeck-us.net header.s=default header.b=swCvbnUC; 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 S2437932AbgLKP1l (ORCPT + 99 others); Fri, 11 Dec 2020 10:27:41 -0500 Received: from gproxy3-pub.mail.unifiedlayer.com ([69.89.30.42]:45335 "EHLO gproxy3-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437923AbgLKP1c (ORCPT ); Fri, 11 Dec 2020 10:27:32 -0500 Received: from CMGW (unknown [10.9.0.13]) by gproxy3.mail.unifiedlayer.com (Postfix) with ESMTP id D8CBC40185 for ; Fri, 11 Dec 2020 08:26:47 -0700 (MST) Received: from bh-25.webhostbox.net ([208.91.199.152]) by cmsmtp with ESMTP id nkJjkJ73Ni1lMnkJjkFi0o; Fri, 11 Dec 2020 08:26:47 -0700 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.2 cv=dourMxo4 c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=kj9zAlcOel0A:10 a=zTNgK-yGK50A:10 a=evQFzbml-YQA:10 a=RQaXqXe8MhkW5YeBRGoA:9 a=CjuIK1q_8ugA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=01PhC2q+jlB/js2aczNBJqVgU/vdIoCNeZuEMcfKJHw=; b=swCvbnUCwIcGJuzvKxZnsg73jq bdjBroMQ3dAmMaL02C8xWwu1HqWVN+2FVAXDeOIpRGsMVNyArpF4zwD5ZW96+aZWvn34HOGRlzHYr eLSodUtypBEoUDNNdg/JwClZXnZ30DmyLmljyF9V8dH6pKjUjGEgel32t2s/ryo799pe4b4qnX0tJ 0ek0W+GZafqKPWEQgJUjs+beRumbGvr9sXt3lyQpbIrYqgypLlmdBVrKlGRr1hiF+OS2FGXVwdi0S VDj5ORKdpprig34RLx53xkhcju8oAH76lc+ej/7q4Ul/fXp4GP86qqABUx1VpfgnuGYCBG/HBkzrv bRYBSD4w==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:41678 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1knkJi-003W8f-Vt; Fri, 11 Dec 2020 15:26:47 +0000 Date: Fri, 11 Dec 2020 07:26:46 -0800 From: Guenter Roeck To: Geert Uytterhoeven Cc: Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwmon: (iio_hwmon) Drop bogus __refdata annotation Message-ID: <20201211152646.GA39888@roeck-us.net> References: <20201211133512.2969952-1-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201211133512.2969952-1-geert+renesas@glider.be> User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1knkJi-003W8f-Vt X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (localhost) [108.223.40.66]:41678 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 5 X-Org: HG=direseller_whb_net_legacy;ORG=directi; X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 11, 2020 at 02:35:12PM +0100, Geert Uytterhoeven wrote: > 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 Applied. Thanks, Guenter > --- > 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,