From patchwork Thu Mar 10 16:42:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kumar Mahapatra X-Patchwork-Id: 550337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8EE4C433EF for ; Thu, 10 Mar 2022 16:42:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242318AbiCJQnx (ORCPT ); Thu, 10 Mar 2022 11:43:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbiCJQnt (ORCPT ); Thu, 10 Mar 2022 11:43:49 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2059.outbound.protection.outlook.com [40.107.237.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 001D412A92; Thu, 10 Mar 2022 08:42:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NIYjNr14sT9YPDlIibTeAy2OgqhGabovv9bmNZ0IZ1Y/OXDti5mpcwu/7bWqJv+uoLgcAcYI7NqVV9vMNACXmuFExcEJsY4f+Y3FOyNKfelUnkmHpRmAx7UqMMwntb8fX2DuuxMlr2YukJD3f5bB5gfKBnKfc1oGarHPeWLlKB4p2LR0Q/WvY+PSBqf/6zF0O2+PkvNLtwzO3jdWesP1oQajSovgV0anVEZtt2KLKVONWuA2108t9VvT0xZEpHAZ/AUcDvV51MZVPp7yjrxOleGwSFHuvNZ6VtRGpLZk15VWpybGxyp7IX23xSElrpAsi68SRt4A/6LSL+7/0Pu04Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Gi+vPPEUXfs8JNr5u+S0tbxiGsDNv0LFmpdDXqSymlk=; b=GpjBRm+zIYybLdmLt+eczh43YzbOowRImB1pY34hDUvOiFPycjFey8HzbGB1PUCpirOkBzJi5oznHz629iaiCSH0WTJcuPZPn7SvEazbR4aOThPcMjguA3/EUIUCSManCEry3CgzfpQiYdqcL/t+uuqr2buizxKHhCQKjgkUUd21fYPF8yee8yk1okvB/7FlXT+eHFEiYFf+hDI+uQTYQHuustIyS1pDzt36xgcHJd2M7aQLrT4lqsIEUTtUq3o6wzYg1j4L2r+shkRjVpWm352ptb4+iChTN/c5pLxEuNqVrNWvUz2/NIrCZgnKFieoQP7AJzhPH9YrEJe8bZGoPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gi+vPPEUXfs8JNr5u+S0tbxiGsDNv0LFmpdDXqSymlk=; b=KEViWV9+HOtijcLLaU4amLAC6GtL2UDgq+kTd6CgpQ9addIMHNzw6We/9RGCsbauTSLk+CMG2wehisH+u6tcsomvZxhUKM2kIjQiPmBlQh6CLKUiufWL8S8vNSbsS28rhuqkZz59uYy+BEWg7NvY9LeUdcm3XD2UTxP9v8j0JVA= Received: from BN0PR08CA0005.namprd08.prod.outlook.com (2603:10b6:408:142::20) by CH2PR02MB6823.namprd02.prod.outlook.com (2603:10b6:610:7f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.15; Thu, 10 Mar 2022 16:42:46 +0000 Received: from BN1NAM02FT063.eop-nam02.prod.protection.outlook.com (2603:10b6:408:142:cafe::60) by BN0PR08CA0005.outlook.office365.com (2603:10b6:408:142::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.20 via Frontend Transport; Thu, 10 Mar 2022 16:42:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT063.mail.protection.outlook.com (10.13.2.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5061.22 via Frontend Transport; Thu, 10 Mar 2022 16:42:45 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 10 Mar 2022 08:42:44 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 10 Mar 2022 08:42:44 -0800 Envelope-to: git@xilinx.com, broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [10.140.6.18] (port=57612 helo=xhdlakshmis40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nSLsB-0003SM-S9; Thu, 10 Mar 2022 08:42:44 -0800 From: Amit Kumar Mahapatra To: CC: , , , , Michal Simek , Amit Kumar Mahapatra Subject: [PATCH 1/2] spi: spi-cadence: Align function name s/cnds/cdns/g Date: Thu, 10 Mar 2022 22:12:34 +0530 Message-ID: <20220310164235.32230-2-amit.kumar-mahapatra@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220310164235.32230-1-amit.kumar-mahapatra@xilinx.com> References: <20220310164235.32230-1-amit.kumar-mahapatra@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff9f907b-2219-4654-f55b-08da02b50133 X-MS-TrafficTypeDiagnostic: CH2PR02MB6823:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K2neN9H0rRDmq1Mg4wzZc52hJ3JjMvSk0iEM/A/j3jokxvQlozPt903OTnDozLanhxURa+f9Nug0qFX2+HttcVD/7AnwTPbLkzOzMU4PmJ6hlbktE33Wa2ImVSTI/C1I5cFihGywevlGLrHqqq9VG2Dx+jJNnvDkZ2e6DUZnJpjg5wkM/WRZdxFeKoujueOHyqn9E9EIbebL1+BiT1nzKe+oyAquksjx0CYzi0NG7sKh0gIUDSVDric/b3PpxAVsSy+gcIrcagSuI+tSatOnTAFxJz5q7gKAvNPtkxyuy6DpxAmI2t4XyyoufP3q1X0JU3KuG31XBsXdZ55Jonfxhadv4T2HnlbbZhRK4RQ4XEyX2ocjx/9gq3dlkBBhSAe9pt3vrvaBy5z6lFzExvLKGcqccKsl4FnNOGdhVaQl52kWA9NuJxeFt6w1e+qCodX/aGLogY+Be3haYcbY4vCuwRV7L0QIKYegcEpOCFHk3sitVpk9m89/XBDu/Jn57Ja3hc3spEH0RGzq1PKWRIUCZyCfK07+l/2rz0UhbaDwSROa0rFeQtCl5JYjZ3j9Pyzm8vxc+HvRv+oPNxTFtJaoep3CWpe4JZdxevJkGdss0mD0Xo+6dJ2KtRfrZRVz8Jb45ADRqUfa06H3JMWxK/hMK87HLyvkIy7doqGx2H2wA+Z/979YoEOs5ia0UJrSXQrXpCcMH8Z86m/nNYbMqPudaA== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch02.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(316002)(82310400004)(508600001)(6666004)(26005)(336012)(47076005)(1076003)(7696005)(186003)(426003)(36860700001)(356005)(7636003)(107886003)(83380400001)(9786002)(8936002)(5660300002)(8676002)(4326008)(70586007)(70206006)(36756003)(2906002)(54906003)(6916009)(40460700003)(2616005)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 16:42:45.7458 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff9f907b-2219-4654-f55b-08da02b50133 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT063.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6823 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org From: Michal Simek Resume/suspend functions are using cnds instead of cdns that's why fix it to be aligned with the rest of functions. Signed-off-by: Michal Simek Signed-off-by: Amit Kumar Mahapatra --- drivers/spi/spi-cadence.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index ceb16e70d235..aff3f4241840 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -657,7 +657,7 @@ static int __maybe_unused cdns_spi_resume(struct device *dev) * * Return: 0 on success and error value on error */ -static int __maybe_unused cnds_runtime_resume(struct device *dev) +static int __maybe_unused cdns_runtime_resume(struct device *dev) { struct spi_master *master = dev_get_drvdata(dev); struct cdns_spi *xspi = spi_master_get_devdata(master); @@ -686,7 +686,7 @@ static int __maybe_unused cnds_runtime_resume(struct device *dev) * * Return: Always 0 */ -static int __maybe_unused cnds_runtime_suspend(struct device *dev) +static int __maybe_unused cdns_runtime_suspend(struct device *dev) { struct spi_master *master = dev_get_drvdata(dev); struct cdns_spi *xspi = spi_master_get_devdata(master); @@ -698,8 +698,8 @@ static int __maybe_unused cnds_runtime_suspend(struct device *dev) } static const struct dev_pm_ops cdns_spi_dev_pm_ops = { - SET_RUNTIME_PM_OPS(cnds_runtime_suspend, - cnds_runtime_resume, NULL) + SET_RUNTIME_PM_OPS(cdns_runtime_suspend, + cdns_runtime_resume, NULL) SET_SYSTEM_SLEEP_PM_OPS(cdns_spi_suspend, cdns_spi_resume) }; From patchwork Thu Mar 10 16:42:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kumar Mahapatra X-Patchwork-Id: 550900 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5C7FC433EF for ; Thu, 10 Mar 2022 16:43:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236561AbiCJQoW (ORCPT ); Thu, 10 Mar 2022 11:44:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240945AbiCJQoV (ORCPT ); Thu, 10 Mar 2022 11:44:21 -0500 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2065.outbound.protection.outlook.com [40.107.212.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A37159E86; Thu, 10 Mar 2022 08:43:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JZR/oSTVdM8BozSbnnXY1/HgJK3ApCpnrBhUyIGEq+aqxYZ3UWAQaTYXFOcMgbFkqdxNt9vJ5eHmddIH0XUbnzJoEs7Rpge+LUawoU9RgDV+3lg3OQP8wP4YH5JyUBD1i0kjgHlWUcJv8+ufF60X6i9KnHayhHSRGZ2WcM0vC8QiwDJgQrX8wuqwPXVpy7MD4jY3yeT/jYdpu/rQ0bf0yg1p2e/RxUg5FbWXi/eSuwYCtiJ0KaU+BsF8xVORtKF37Ya1WhKUKUubGKukC8/57qvw4iB9+obiogStlRJTDxJOZWDoKuTr/CRjJHXU8mC9FujVf1F6qORVUjS2HGODOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lOsccuODO3ein78CsvfflSxfNbKB2PBGc0H+XdYUEdY=; b=GiFv2U86uB48Qnn8E+ZlL3W4bc4iRUMzgTGBc+zixTlg/LN7IK9jU/Z0hdSCv98xwBaYHN2umGWeR4xo5DBUc4Avvh55Jfgjt5/osBme7x/t+54X92DibhL5Yy4iK9AzWovuCed4n9wk+p4OYRyB0FTKcwS9HzM0ZC44WpC2uAs7FMu/shTE19mRFIsdLfRSFi0TnGmbtp1HmkkTEomnq1+2zjZ4ioTQlbPIMrpgScksMGNahNf81QfUlIcsutcdAUBub/oiD53XC+7tDxGkRM5263Pv3Cosi/lI7EuIwXztwp3GnxcIv9e2f5XFpNVGAk792y/dNHkylnpkrA8pBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lOsccuODO3ein78CsvfflSxfNbKB2PBGc0H+XdYUEdY=; b=fz6N8vJzqXMQukrZgpKtlIJkb7ojZbF1bRQmhjWxsltBA0j8ykC6lyTn7PmWhZmR/wVNSy91GupJKoxUn4iw9WC0d7lzTrxFWa393YBSaky05RX+ciZbi/ASBobo4O3tstahNGbt0T87lrfdBoEMyApTzOhVhnMPkxvrp+VlK0Y= Received: from BN9PR03CA0381.namprd03.prod.outlook.com (2603:10b6:408:f7::26) by MN2PR02MB6685.namprd02.prod.outlook.com (2603:10b6:208:1d5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Thu, 10 Mar 2022 16:43:16 +0000 Received: from BN1NAM02FT007.eop-nam02.prod.protection.outlook.com (2603:10b6:408:f7:cafe::ef) by BN9PR03CA0381.outlook.office365.com (2603:10b6:408:f7::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.20 via Frontend Transport; Thu, 10 Mar 2022 16:43:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by BN1NAM02FT007.mail.protection.outlook.com (10.13.3.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5061.22 via Frontend Transport; Thu, 10 Mar 2022 16:43:16 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 10 Mar 2022 08:42:46 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 10 Mar 2022 08:42:46 -0800 Envelope-to: git@xilinx.com, broonie@kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Received: from [10.140.6.18] (port=57612 helo=xhdlakshmis40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nSLsE-0003SM-6S; Thu, 10 Mar 2022 08:42:46 -0800 From: Amit Kumar Mahapatra To: CC: , , , , Michal Simek , Amit Kumar Mahapatra Subject: [PATCH 2/2] spi: spi-cadence: Fix kernel-doc format for resume/suspend Date: Thu, 10 Mar 2022 22:12:35 +0530 Message-ID: <20220310164235.32230-3-amit.kumar-mahapatra@xilinx.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220310164235.32230-1-amit.kumar-mahapatra@xilinx.com> References: <20220310164235.32230-1-amit.kumar-mahapatra@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 18d1e972-5618-4f06-d5e6-08da02b513a4 X-MS-TrafficTypeDiagnostic: MN2PR02MB6685:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qAHgYla3kOg3rTCblgVVEX3DjbpJnuB3lbojvbW7dmGiJJuemxJdzV41joHSOPhlhh8MC9cXEeh+HkGJ4w7M4EVTMTDIqD87ASKksfxHy/9eOWG0lP40cRPvKgCKiYjSE9v/tE8a6uk7FupOVV8O4aEbzWVkcNk2ygCX2bvvrWGudKzkLTspxJrf4vM2vWdoRfn5zDyc5VwNIuH10yYE1AqwN06Z4SAby/YhHzNqfCMai4DAQ6lHQgqfvscA95oF2z0JuKY66OaB9qK9DCIN1HFR3JeRiQtdCpZBq9CZQ+gg0YQmr8QqLQg5znxkAMf5Ve1lNyCuzMjPz5EuD0p9SHdqSFgNyHwMNaHgQaLaLOntJ54tmmrkaYgY8S3fQd2LiD9bYI9u4pSe9LKHGKpAqhIIbb99haVhFD7Fp7fvPtLbVbrv7Ha3YJKvKrEth2HtMNUYldnNyxqzv9Qly8fmsQ2Aksq8CUQeAtVaOHt7lc2+2W585i4zmZQrx5c/RlRNUYN2Wi7V1zAealMn/Tx6GENEyWuNjHWlsnw5lIn6cASWg2YNspePz0ZC2Mr70ggb4crZ2gKeeAX0opdHMO004/VQX+C0tY1m1BOca3KFEn1IKFVQbwXacWvSiwp1hIdmjUibbATtkTaoT5ntVLHYW1Ytf3J+Tc8OAT2f6nMKrrVa76SYJ2umxXateKhCxKg0y8GXuS7PV4yH/HW7WfCogQ== X-Forefront-Antispam-Report: CIP:149.199.62.198; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:xsj-pvapexch01.xlnx.xilinx.com; PTR:unknown-62-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(36860700001)(508600001)(316002)(7696005)(15650500001)(47076005)(1076003)(107886003)(6666004)(2616005)(36756003)(336012)(426003)(186003)(83380400001)(26005)(4326008)(356005)(2906002)(82310400004)(8676002)(70206006)(70586007)(8936002)(6916009)(9786002)(5660300002)(7636003)(40460700003)(54906003)(102446001); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 16:43:16.6690 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 18d1e972-5618-4f06-d5e6-08da02b513a4 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.62.198]; Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT007.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR02MB6685 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org From: Michal Simek Kernel function name don't match with function name. Error log: drivers/spi/spi-cadence.c:662: warning: expecting prototype for cdns_spi_runtime_resume(). Prototype was for cnds_runtime_resume() instead drivers/spi/spi-cadence.c:691: warning: expecting prototype for cdns_spi_runtime_suspend(). Prototype was for cnds_runtime_suspend() instead Signed-off-by: Michal Simek Signed-off-by: Amit Kumar Mahapatra --- drivers/spi/spi-cadence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index aff3f4241840..87bb29ac4d7c 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -650,7 +650,7 @@ static int __maybe_unused cdns_spi_resume(struct device *dev) } /** - * cdns_spi_runtime_resume - Runtime resume method for the SPI driver + * cdns_runtime_resume - Runtime resume method for the SPI driver * @dev: Address of the platform_device structure * * This function enables the clocks @@ -679,7 +679,7 @@ static int __maybe_unused cdns_runtime_resume(struct device *dev) } /** - * cdns_spi_runtime_suspend - Runtime suspend method for the SPI driver + * cdns_runtime_suspend - Runtime suspend method for the SPI driver * @dev: Address of the platform_device structure * * This function disables the clocks