Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3816601rdb; Thu, 14 Sep 2023 03:43:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9CU1t/VCiOZve4ceWv1eQzl6ygQ8Y4nt2GHqurLP0h5AWATDR7dj+LGcF4NVUvs5bOUTd X-Received: by 2002:a17:90a:51c4:b0:26d:40ec:3cf3 with SMTP id u62-20020a17090a51c400b0026d40ec3cf3mr4524383pjh.0.1694688229833; Thu, 14 Sep 2023 03:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694688229; cv=none; d=google.com; s=arc-20160816; b=jqy2XDuNVclaao0odZC4hoxPZ6pnFrAgpSyxlRKyLVu8b2gkOlYsf6NAV9slDG5avl +GZSdD40ZC3hg5JcHhUwfAHirPUVJXTuu2HTP9QiDXe3V9wgnZVQ2po+33cRiejlZ8aj i7CJoZYHhTILSiiS8WaE2uWJpQUgPvKvD1C3CneGOmTkIuxlJd7aWYlG+6pQkPuXymLi 84IiseRAFlAUVs5vki/BCEKz5yLzG3pzBP8yq0gX6fW0oh/QdsbfPFPyCC9pZYQc7yac EbCjOF1mbwm6DwJRnNiz7V1uo9SkKrSu5OSNN1uo/sBU4s39efPmzuR1BJOt1G1pNMnS FDrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HLDRSIirYRQ/7iQggy7HZvmDT2Fg+jxURzfKCojcr9s=; fh=YkHEAQRi5aDcCENFW2qWMPjiszaQ3VuWN4sUP/8k3vk=; b=1FLSMtrcpvYIC25RfbifK7GtfoOGlt3NZ6B3rmc9TYf+FoKtU5JBCDVa/4xhu7HP4P G1ZKLIPp49v22EXUG/7Y92jSW0JnlTJD10zOBM1+o80xjIQUBfUo42hm8H5fByUE6aGi cAMdt+f8pe5kXrw9Uu8XO/hGt3MS8fPzyLOoZ0ol5dHS/Q0O2BSLPRqxLMHlS7om6+i1 FpeLKb7q1Eq2y72RiU7EjR7c+YlIPnDlp7xDZkIqOWal9ITgjvmIdNjeH/Y33fqDv/VI 3nHunJwJPfjnGe96tjPggKQ5zk3ExgXs/wqNOThbjMHsiw1V5eQiqSqTQO126cJukegc 0vKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fQKcOVXn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cl7-20020a17090af68700b0026b56ee767esi3458068pjb.106.2023.09.14.03.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:43:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fQKcOVXn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2885B82DAFCA; Thu, 14 Sep 2023 03:19:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238108AbjINKT5 (ORCPT + 99 others); Thu, 14 Sep 2023 06:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237924AbjINKT4 (ORCPT ); Thu, 14 Sep 2023 06:19:56 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD4B1BE3 for ; Thu, 14 Sep 2023 03:19:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5E03C433C7; Thu, 14 Sep 2023 10:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694686792; bh=YCNn/tftIIYVmh85nuACsWJJWr1SgTpaADdxerbE3jo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fQKcOVXnYoyDU+CmvlXYfl75Hq+KlaF/D5GfPs23cv2tHs89jVNLTqO5wL/8efOHK V/hvIWyrlu8rvSjoaB3s+0LskoYUQoLXnR6lnvyM6lz4YJL85LX1y/Ifr7GpdMeOHX Cs/qG+mjWFZ+u0PKwBQ85511LS/x0SG5e7OS7vkeLFfi48Yd6n9CupMrG/uK5Ha1Ed iDL7PrHJ2q/Km2JI1NLJ5RHXzNrfwfc998Of2AXzS/4d3S6zuKDfIUKQQvDwFK5dmo G29HWttxY38t54lMszTsRlAU6YQBbuSZWotU3cvX2SjbdS1npkw+o2y5oi67QCXlU5 qcN0LW0vrI2Cw== Date: Thu, 14 Sep 2023 11:19:47 +0100 From: Lee Jones To: Michael Ellerman Cc: Charles Keepax , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, geert@linux-m68k.org Subject: Re: [PATCH] mfd: cs42l43: Use correct macro for new-style PM runtime ops Message-ID: <20230914101947.GM13143@google.com> References: <20230822114914.340359-1-ckeepax@opensource.cirrus.com> <20230904144008.GG13143@google.com> <87zg20cfkm.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zg20cfkm.fsf@mail.lhotse> 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 (fry.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:19:57 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 fry.vger.email On Wed, 06 Sep 2023, Michael Ellerman wrote: > Lee Jones writes: > > On Tue, 22 Aug 2023, Charles Keepax wrote: > > > >> 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 > >> --- > >> 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 37b23e9bae823..7b6d07cbe6fc6 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"); > > > > Acked-by: Lee Jones > > > > If anyone wants to submit this directly to Linus before -rc1, please, be > > my guest. > > But you're the MFD maintainer, aren't you? So I think everyone is > expecting you to send it to Linus. And I will. The offer was in case anyone (with more spare time than I) wanted to send it before I had a chance. -- Lee Jones [李琼斯]