Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp573058rdb; Tue, 19 Sep 2023 04:20:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHtKoWPANuuZ4l7Wf1GtNpB305CM4gO2LZW5VOXRDP08BeV12haYIpbbClrpGfyob7qoaZa X-Received: by 2002:a17:90b:1e0a:b0:26d:4d1c:5395 with SMTP id pg10-20020a17090b1e0a00b0026d4d1c5395mr2929187pjb.18.1695122415848; Tue, 19 Sep 2023 04:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695122415; cv=none; d=google.com; s=arc-20160816; b=q2UV0yQQxKdDOhBHBL6+S+9793Z3zjI0kleCP0riihCkO1Pw7Jq5QpEUy56MHyhs78 iEH1cxZPi1JXgdQ1A01P7xsn7JBlMZc6wCkcjfYZTwIBNfY1wAiLEZBUXn8FNiz+78o5 MIaQwPhQJc1itNKfMKEgdj8tziaztxD3afVNicBTjrm8POcazy2KdG59C/qSjkE8TRCR pwuuUL314butnLfGBhCsBVDdL/BJnAr546V8ix6mHJ1I9dfBXfWobCftLLmo5AVpuR8v nEmddhag3D3dQVJT+otPQv9j3UkqDVQYSjmltbk0dYiTDDDTxj+6Hu2l+6vkaO1deLdL 3iyQ== 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=+IamnGiURUEB991sVLJVBum9z4dk97iDlAfaZVcuitw=; fh=YYuVsS77JKVo0FNZvJ08kqdFSOk9t+ZxXGrWfIdkj7w=; b=NT6uYOeIxOpvQ4P2cqTGnFq6FRldCnEiDiLdD9dHJSh70kBhWuVcEcwxPgyBfCiM2s l1ollXegzYim6SxrdM24P5xxJOwtlSBQy6JeWU5fs+HZEU238in+8ARfDPv8d3q9zu1Q cV+Z+ujgy/Z0/OLerlBzbgn5J2Hl17DdoqbQH2MUZFzEVdu5YPFKlUo79R+hThGx/e1h FXDXU3I41vvU039L0G5si8dglXKS7RN3qu4LOcmDnvPB9VQNcZBb9BYio8+nUlUnpjyT kk4ZacsjZvX3qYTkDcVtZr3ZeD1RwoINew7tbu0UoC3ELFyXq/PDGk1wONmTK45QGXBS LYJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id ne14-20020a17090b374e00b002719ad11d97si9379548pjb.137.2023.09.19.04.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:20:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 26E1B80225AD; Tue, 19 Sep 2023 04:04:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231974AbjISLDp (ORCPT + 99 others); Tue, 19 Sep 2023 07:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231994AbjISLDh (ORCPT ); Tue, 19 Sep 2023 07:03:37 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFE4C134 for ; Tue, 19 Sep 2023 04:03:30 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qiYVs-0006bq-Nl; Tue, 19 Sep 2023 13:03:28 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiYVr-007RME-5E; Tue, 19 Sep 2023 13:03:27 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qiYVq-002yMW-S6; Tue, 19 Sep 2023 13:03:26 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Linus Torvalds Cc: patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Charles Keepax , Nathan Chancellor , Geert Uytterhoeven , Lee Jones Subject: [PATCH for-v6.6] mfd: cs42l43: Use correct macro for new-style PM runtime ops Date: Tue, 19 Sep 2023 13:03:20 +0200 Message-Id: <20230919110320.1388527-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1830; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=nd+RxmV5D3okRiBan5re5Oiby0dizIaVKqCwQ5aAluE=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlCX/3NgN0LDYR5jZJxUqK08mr8KEwpkzLVaBYZ W7z0jGscOSJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZQl/9wAKCRCPgPtYfRL+ TklZCACJkIaBWazOGHlc+cYQqSBdT/zMuXotSbHtmFRYPvE/h3Lg+NtypPFhpod1m52Yg3tFdon 9ZNk9cF+NvRJRo5GzFI37bW4EyCg5FtRTnr61ghN1aKUZc2ZubJGDmwDdM2Z8iOOjYJ+BJqOuaU qUdjXlu7yWHmF70GOg2U3FMbZLlaDn1K0d8+S2AiCzSOybEF7RfGieGoj6mXobON1MijCvZI3oQ el/D71QIg6YWSqKnsZoYZG/jukrqaJ11DdC+fRxWqXhNdnlyi8vkKpepWOdkbZuJJ/EsX1I3+2/ XXINRli1S6WBSdx8jdpxFi1l7t/UaCCLHknf8CbRhvE95JYA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=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 morse.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 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 04:04:04 -0700 (PDT) From: Charles Keepax The code was accidentally mixing new and old style macros, update the macros used to remove an unused function warning whilst building with no PM enabled in the config. Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") Signed-off-by: Charles Keepax Link: https://lore.kernel.org/all/20230822114914.340359-1-ckeepax@opensource.cirrus.com/ Reviewed-by: Nathan Chancellor Tested-by: Geert Uytterhoeven Acked-by: Lee Jones Signed-off-by: Uwe Kleine-König --- Hello Linus, this patch was submitted on August 22 already, but -rc2 is still unfixed. This makes allmodconfig builds on (at least) s390 and m68k fail. Lee who should normally send this fix to you seems to be swamped in other work and asked: "If anyone wants to submit this directly to Linus before -rc1, please, be my guest." Voilà, I'm Lee's guest now :-) Thanks for considering to take this patch this way, Uwe drivers/mfd/cs42l43.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/cs42l43.c b/drivers/mfd/cs42l43.c index 37b23e9bae82..7b6d07cbe6fc 100644 --- a/drivers/mfd/cs42l43.c +++ b/drivers/mfd/cs42l43.c @@ -1178,8 +1178,8 @@ static int cs42l43_runtime_resume(struct device *dev) } EXPORT_NS_GPL_DEV_PM_OPS(cs42l43_pm_ops, MFD_CS42L43) = { - SET_SYSTEM_SLEEP_PM_OPS(cs42l43_suspend, cs42l43_resume) - SET_RUNTIME_PM_OPS(cs42l43_runtime_suspend, cs42l43_runtime_resume, NULL) + SYSTEM_SLEEP_PM_OPS(cs42l43_suspend, cs42l43_resume) + RUNTIME_PM_OPS(cs42l43_runtime_suspend, cs42l43_runtime_resume, NULL) }; MODULE_DESCRIPTION("CS42L43 Core Driver"); base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d -- 2.40.1