Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp478653lql; Mon, 11 Mar 2024 08:14:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYQUdOMEOzQew7Y2Hu9NLD0y/zQeZtuDklFt3+87KIIR/uKenWCJ77PkeCE2Y9NaPQFzYw1ihY9pbbaJVF49JNl/5x3tX9xgWjBATBFg== X-Google-Smtp-Source: AGHT+IHzcTEp/zaIqR7N73YsBDIbHP0KheGHAL0rVUZtJ4rSbPr9TBPRxgAcb6LycqWckthWgvPG X-Received: by 2002:a05:6102:3bf7:b0:472:fc3b:1db2 with SMTP id be23-20020a0561023bf700b00472fc3b1db2mr2824665vsb.19.1710170052960; Mon, 11 Mar 2024 08:14:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710170052; cv=pass; d=google.com; s=arc-20160816; b=caq10MXvbCQ7wObirBIIxjlC/ctMHNgmOTMBI/ExMx/oMqvLPPJtcXegoYDjjFEgng 6TO5rr10HHPcmrmuzKPIYvq7Il6vuc6Vv6AJVFoR4nYfQlRO33OVRAZ+Uz6x5t5nLdAy X7/C6sBmK2aLgSs9CnJjLo9YLT7nKeC/uTxaJqkVbH6dig0xn1SKzI2TKW2PmuDbMWyp nOzRa9Q1PbyefIZZErmgTxvFFsbUyCSBmJHv1PWEmne3ClmvNCY/zg6l4pL306HrAJHr ayy5X3eoADPEh/ul4n+PEKh/fi0v0kHwN4RPFgbj49LFK2TX3ifpkswjKKX7xVk+rEHx Bzcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0DlG85Al0Q4R2yWmA1FO8JJZPyqvg4W/OC3a8R5vWG0=; fh=mFvVzxzpcTPYxDs5uKisbN4lE99QGksRGuczwvWzYhg=; b=WJSA+awNjQVHf7CTZcxho2ZtguhJ8ZDvjounEo8SNJbuof0PpXrOX0VdgZoe4Ys7sG KonzhzvvO+f6D1tj04176HGbL8crLd0/1AEaEN7XZiyoJqXm79etmZrwgr+U83v+62+g tImG3tDEZ5lyZDdJIiOd1oBEtTfoca7Syj3cy0AlLA62I22vVEz5ZG6fsFmuv6aICHax f7BuoYnp7CNgYWIh22ZG8K1/3jJtFoy+Jm+3UXbSvaBwk0At/4iesd3RHrMM7oL7sj2y m96ajZSVp5UpCcEXy6lNUVrmTIB+Q7w30zhC1gqsRLAPqa5Ts7Py3Qsl4Z8tU8OYfFvs +Qvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pLhRVD1E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s5-20020a056102364500b0046d62159869si495216vsu.483.2024.03.11.08.14.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:14:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pLhRVD1E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-99054-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A84B91C211A5 for ; Mon, 11 Mar 2024 15:14:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D63C744367; Mon, 11 Mar 2024 15:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pLhRVD1E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E18D347F7D; Mon, 11 Mar 2024 15:12:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169956; cv=none; b=DzT2C76a2778ZZAZWZTd+8pLfeVaH48AELy6zP5vF9Nob8M+Gq5KV16oK4ofGhUwvn0p65mdcyTxPzNiV7DPQPF8XJvmFP/JsMRPmdrDMkVCVtrzqA/XsCVrw8/b93VRf9orRGRtF2c3tMbQGkKWdeg/6XF5GeJE0MjzopzXtzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710169956; c=relaxed/simple; bh=kifoJ9eFImu0n8wwJjHxP546xn+Rp7wiVvjJnpRAhdE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=G0Xa+oRDpfZmECR7SC58s317yUGBDtrLqs0RMWmuNVQP5+DDuYwHXtzRRG3wLAaQ2Re0T4JGqekqAMcv4rbNuJZS1pIjr7cIBS4Zwp1K/zGTyPWULnoQnhD7TFECeWWF1ARJw0ANtHcGQo8B4sZBGzbqtwLh+xTYWLPHHFKlYqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pLhRVD1E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94341C433F1; Mon, 11 Mar 2024 15:12:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710169955; bh=kifoJ9eFImu0n8wwJjHxP546xn+Rp7wiVvjJnpRAhdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLhRVD1EpePwYVWhXjgL5RIPN22f0zvZ/Ah1e3+wfbpB3iFrXjB4LHyZDVQFhL0Es HlhTzpu2SOTfSRJFdfL8gc6Hc+iw2KhpJSx122DSwZ9Zqn/Yk1IDNda1we/ePpF0Di Y6X4Q8JvUzosfPEgM1uJmSsDuVbDou8VdQIGHyK9yaNoknBFjaByQ3U0m/IMf9kteL vcM0IaqPiddRwDA2RM6MkuMo7stQLnJdWweW21AHP5Bqr0FotX01/8eQjeoG1VLsM9 AnpAGFGNzMr4nLmIQZgi8Sikz1du4eudXX1zQmOpHkv9OF9hj7Xs6N4lCHPMhQgUt1 ysVlJygBIOItA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Th=C3=A9o=20Lebrun?= , Dhruva Gole , Mark Brown , Sasha Levin , linux-spi@vger.kernel.org Subject: [PATCH AUTOSEL 6.7 07/23] spi: cadence-qspi: put runtime in runtime PM hooks names Date: Mon, 11 Mar 2024 11:11:47 -0400 Message-ID: <20240311151217.317068-7-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240311151217.317068-1-sashal@kernel.org> References: <20240311151217.317068-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.7.9 Content-Transfer-Encoding: 8bit From: Théo Lebrun [ Upstream commit 4efa1250b59ebf47ce64a7b6b7c3e2e0a2a9d35a ] Follow kernel naming convention with regards to power-management callback function names. The convention in the kernel is: - prefix_suspend means the system-wide suspend callback; - prefix_runtime_suspend means the runtime PM suspend callback. The same applies to resume callbacks. Signed-off-by: Théo Lebrun Reviewed-by: Dhruva Gole Link: https://msgid.link/r/20240222-cdns-qspi-pm-fix-v4-3-6b6af8bcbf59@bootlin.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/spi/spi-cadence-quadspi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-cadence-quadspi.c b/drivers/spi/spi-cadence-quadspi.c index 731775d34d393..4b2d42e54f568 100644 --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -1927,7 +1927,7 @@ static void cqspi_remove(struct platform_device *pdev) pm_runtime_disable(&pdev->dev); } -static int cqspi_suspend(struct device *dev) +static int cqspi_runtime_suspend(struct device *dev) { struct cqspi_st *cqspi = dev_get_drvdata(dev); @@ -1936,7 +1936,7 @@ static int cqspi_suspend(struct device *dev) return 0; } -static int cqspi_resume(struct device *dev) +static int cqspi_runtime_resume(struct device *dev) { struct cqspi_st *cqspi = dev_get_drvdata(dev); @@ -1949,8 +1949,8 @@ static int cqspi_resume(struct device *dev) return 0; } -static DEFINE_RUNTIME_DEV_PM_OPS(cqspi_dev_pm_ops, cqspi_suspend, - cqspi_resume, NULL); +static DEFINE_RUNTIME_DEV_PM_OPS(cqspi_dev_pm_ops, cqspi_runtime_suspend, + cqspi_runtime_resume, NULL); static const struct cqspi_driver_platdata cdns_qspi = { .quirks = CQSPI_DISABLE_DAC_MODE, -- 2.43.0