Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1400379rwb; Thu, 15 Dec 2022 09:38:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf4gWIGdWRXMhJBby2TmmSAdVLnsi+XZrw0nHPRwTMGvwqfXWa1takKSSV/x6GTlVhbx05e6 X-Received: by 2002:a05:6a00:1696:b0:56a:beee:d0a7 with SMTP id k22-20020a056a00169600b0056abeeed0a7mr37983850pfc.26.1671125895212; Thu, 15 Dec 2022 09:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671125895; cv=none; d=google.com; s=arc-20160816; b=PfW0HphnKtsoItNhZxafPyXZI/Sgdk17WPNqzkSXojn558ewmpVCTf0GpUb+wVDYaM eOcJl7h/mh/+ebSWEUw1ePdxK4MRXZmPMTptKUm2t3itC5k0OS6k1cCo4EtrirJLGGk5 Cb1iJGbL7UaCjXBGYfISuEPrMUQIPYuxzNcBSuVQyTQkEvPA4jSRcEMOUlpr69NhXvSL l5apF9Ky5XxXBOYkw4QG6f4s/JBIjg48l+XLiHj+2Hv+pIwTWRw7hmMo6NzQ7NQy35av PdbOsThBusAYwYicyAc+0V6D+8PgBkzsmciLQmPhdykyjckqSw8dEXw36Je4KzPvckQL aFYA== 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=Fc5sYLoCuXL7K6+sPfRFtPtKb3SaJU4iMpUzt7MieuU=; b=EM2sfySIfYBAzERM6nhY7vvcIns2oHi8TDDoL6oeUvWmho+y6Ee1Gw0mvDDcdm8y3z 5M1Dv+6qX2dEBKQoMiecXjq+jcl0PA4spohxG6SOLt41CZbEI8TUhmClbOqjjJEglNJ5 X78jWrQ5LPIJF4ZXN9CIIK7c+rhl2fzNwkN5CNJQmNIRnmSDrSQejKNTI3AodeacVasM 89KtZ0XEawc4FZdB4TPRdbzN8hSrxE/K4+3d0obzT9tLuJSuB8VJc+j1gTXxxqtfnE6z +kyqg2UB1KTEYC8KTDpquugYcu6oMQr6sjl989XHPRLBzcjC98oiPPsCIH/B1F0YwiZy TV0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cVDq0W3v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x29-20020a056a00189d00b0057a6c320956si3629653pfh.220.2022.12.15.09.38.06; Thu, 15 Dec 2022 09:38:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cVDq0W3v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230231AbiLOQnM (ORCPT + 68 others); Thu, 15 Dec 2022 11:43:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbiLOQnI (ORCPT ); Thu, 15 Dec 2022 11:43:08 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B7631EF4; Thu, 15 Dec 2022 08:43:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A2A5A61E3B; Thu, 15 Dec 2022 16:43:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E3B1C433D2; Thu, 15 Dec 2022 16:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671122587; bh=EJbzFTzdiVnx0DkBjvBmxcdCKoZgTncI1xo0FQ9Ph00=; h=From:To:Cc:Subject:Date:From; b=cVDq0W3vD9FvmjOGUWuYhrlG6cSOWaJu5/TlD2iP/9YBDHp+8h2gd4gsUpLFD4qgc We3FbLRJ2UrJZ52IjLRssK93sSYVDvx1l5nwjYBX+ibedXTjkqUnZIJqgO7zPhCgS3 hGaRWq9LgLIqYMq48RikZhlEumapRzeOWqMqJR/QFJqP+IMnDtgi5DWgD3ughZ56au jSBo2C3rXVTuXYb38ZxP0CZ63rm0SZVV9qoeu9JGbpDIH9r3yR0cfjxL55U339wx1l CHtUg34/cUXb3uv1FkfGkXzkvZc0fiyl7hrh1V+ijLgAssP9kmrS2FnafwV/G5yDui nj6RkTUPGfO3w== From: Arnd Bergmann To: Ludovic Desroches , Linus Walleij , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: Arnd Bergmann , Andy Shevchenko , Slark Xiao , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: at91: convert to NOIRQ_SYSTEM_SLEEP_PM_OPS Date: Thu, 15 Dec 2022 17:42:54 +0100 Message-Id: <20221215164301.934805-1-arnd@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann With the old SET_NOIRQ_SYSTEM_SLEEP_PM_OPS, some configs result in a build warning: drivers/pinctrl/pinctrl-at91.c:1668:12: error: 'at91_gpio_resume' defined but not used [-Werror=unused-function] 1668 | static int at91_gpio_resume(struct device *dev) | ^~~~~~~~~~~~~~~~ drivers/pinctrl/pinctrl-at91.c:1650:12: error: 'at91_gpio_suspend' defined but not used [-Werror=unused-function] 1650 | static int at91_gpio_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann --- drivers/pinctrl/pinctrl-at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 1e1813d7c550..cf2423855a80 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -1923,7 +1923,7 @@ static int at91_gpio_probe(struct platform_device *pdev) } static const struct dev_pm_ops at91_gpio_pm_ops = { - SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(at91_gpio_suspend, at91_gpio_resume) + NOIRQ_SYSTEM_SLEEP_PM_OPS(at91_gpio_suspend, at91_gpio_resume) }; static struct platform_driver at91_gpio_driver = { -- 2.35.1