Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2276501rdg; Sun, 15 Oct 2023 21:18:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKFWFNZkzWVMiI6X5KplFXsSIbPvw1AOvywdTkJ+WraLuHUwhUQbJxEB66q+9DtNOnqHM7 X-Received: by 2002:a17:902:720a:b0:1c3:a215:a9ba with SMTP id ba10-20020a170902720a00b001c3a215a9bamr31632963plb.33.1697429934619; Sun, 15 Oct 2023 21:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697429934; cv=none; d=google.com; s=arc-20160816; b=LqBZKJMsX3bt06XcjxB9/T37HO+ekwvAiFlUXmyMIOchC6hPG4K4TAoMWNWVLsQMtc LpSFhjr0C58Ep3liY2J9AyBIIgqSqN/lDK3sxpHB2PiV9kNe/K610yvD2GN0UIOTDveJ vppcPp+eRrAzebfWuGf3b40D267Opblh5PNeC022Tssia+8gOW5kb+AXjP/wa19dspFd 2PuE+v0VfTETPiWOCkGRIy9eKK56Pf1VIguB5gLck4NuvNP0DWaYiVz34dryu6a8jpto OmCgud/OkYn6sTRIAkrNX6WVcIv841TqZAao870ZSRAI1g6PCRjyqQX+NSXxv8rtC/nK /+/w== 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:dkim-signature; bh=x6Nt+lmoIZYSVOu6ZTlQjSZu1KbJRj9ixtTG2gZ2sqg=; fh=3s+qTMLoZTHs4Wy6HsE7eHkAWdC4s6CcoV4ZKSTubgw=; b=Ege/8pXQkd6/BccT09abDbaeLxaGgt7SUgdjGAkUdOXHUujGJoP8y5/6YyxH8lobIg yYxbZO6l6Nn8sBrf9NlCYXPwFk5D4VjbjJ8dII2cHiqmlyguQm3rhoBhXAuZNJrb5i1v qf+WoMgPiWKhHcZu/p/YwHO/evljntlP4jyxhL7ktCUupO5kiHnTRrlkpVHOJU/0R/8R /HdWEHOu2lDSeTiAiDCfmWuafDy8aACRVTyNH9EFCBcfokfbzXN5BBjqwri70zy8lwEi X/525HwSbJ9/AqPQCoye/KrPNFP7gEwFiWdC9slvc/9Z6SLCFORhdaK0BFIS3DBIDO8p FGnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YC6sEOm6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c17-20020a170903235100b001c62b51ac0fsi10767207plh.306.2023.10.15.21.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 21:18:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=YC6sEOm6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 33AE88062BBF; Sun, 15 Oct 2023 21:18:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjJPESg (ORCPT + 99 others); Mon, 16 Oct 2023 00:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjJPESd (ORCPT ); Mon, 16 Oct 2023 00:18:33 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66B10D6; Sun, 15 Oct 2023 21:18:31 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id C5DD440005; Mon, 16 Oct 2023 04:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697429910; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=x6Nt+lmoIZYSVOu6ZTlQjSZu1KbJRj9ixtTG2gZ2sqg=; b=YC6sEOm62jCK773k2RKL/MqbmZJ0ktqxrjnpdXnEBrwg3alwv/F52dDYgbwWgdYu46d7qe sWiFLZK9we8VfHTGPlkFkYSOm+8JKvyUaYIIiiDedQCISh9mV66HgNyD72IA9kTuYbD8jc 0goBpM9S0KTNrB7ax8p9Ylq/CkCT16MIHvHszGqTUkQbkxAJq2lgatcEIxMYwnZRDDiUNT sSPBBsRKJbVJzlm4QlGHFT/rTlZu8aINo235VAjohBpVsE+W8goymtlevj0slPZ5/yBYj5 /0tD1t69Hvy02zDdlkL1CbzWKG4GW/gZ7TPmzp+ABRBDeeUT3/3xH8qKqoNVwA== From: alexandre.belloni@bootlin.com To: Alessandro Zummo , Alexandre Belloni , Nicolas Ferre , Claudiu Beznea Cc: kernel test robot , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtc: at91rm9200: annotate at91_rtc_remove with __exit again Date: Mon, 16 Oct 2023 06:18:16 +0200 Message-ID: <20231016041816.246426-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: alexandre.belloni@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 15 Oct 2023 21:18:51 -0700 (PDT) From: Alexandre Belloni Without __exit, having the driver as a builtin after dropping the __exit annotation results in: >> drivers/rtc/rtc-at91rm9200.c:561:13: warning: 'at91_rtc_remove' defined but not used [-Wunused-function] 561 | static void at91_rtc_remove(struct platform_device *pdev) | ^~~~~~~~~~~~~~~ Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202310160705.vlElNOGb-lkp@intel.com/ Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-at91rm9200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 3f5ff9867c02..c16fe711a0d9 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c @@ -558,7 +558,7 @@ static int __init at91_rtc_probe(struct platform_device *pdev) /* * Disable and remove the RTC driver */ -static void at91_rtc_remove(struct platform_device *pdev) +static void __exit at91_rtc_remove(struct platform_device *pdev) { /* Disable all interrupts */ at91_rtc_write_idr(AT91_RTC_ACKUPD | AT91_RTC_ALARM | -- 2.41.0