From patchwork Tue Mar 1 09:21:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhrajyoti Datta X-Patchwork-Id: 590425 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 5F73F14029E for ; Tue, 1 Mar 2016 20:21:20 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752752AbcCAJVS (ORCPT ); Tue, 1 Mar 2016 04:21:18 -0500 Received: from mail-cys01nam02on0077.outbound.protection.outlook.com ([104.47.37.77]:10499 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752681AbcCAJVR (ORCPT ); Tue, 1 Mar 2016 04:21:17 -0500 Received: from CY1NAM02FT034.eop-nam02.prod.protection.outlook.com (10.152.74.53) by CY1NAM02HT062.eop-nam02.prod.protection.outlook.com (10.152.74.145) with Microsoft SMTP Server (TLS) id 15.1.422.5; Tue, 1 Mar 2016 09:21:15 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT034.mail.protection.outlook.com (10.152.75.190) with Microsoft SMTP Server (TLS) id 15.1.422.5 via Frontend Transport; Tue, 1 Mar 2016 09:21:14 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:49579 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1aagUU-0006Z7-1r; Tue, 01 Mar 2016 01:21:14 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1aagUT-0007Wm-UD; Tue, 01 Mar 2016 01:21:13 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp1.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u219LBTb024997; Tue, 1 Mar 2016 01:21:12 -0800 Received: from [172.23.146.171] (helo=xhdl3763.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1aagUR-0007WS-JK; Tue, 01 Mar 2016 01:21:11 -0800 Received: by xhdl3763.xilinx.com (Postfix, from userid 9049) id C355F2CE051D; Tue, 1 Mar 2016 14:51:10 +0530 (IST) From: Shubhrajyoti Datta To: CC: , , , Shubhrajyoti Datta Subject: [PATCHv2 1/2] i2c: cadence: Fix the Documentation Date: Tue, 1 Mar 2016 14:51:04 +0530 Message-ID: <1456824065-22080-1-git-send-email-shubhraj@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22160.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.100; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(586003)(45336002)(46386002)(189998001)(5001960100003)(4001430100002)(47776003)(90966002)(1220700001)(19580405001)(92566002)(33646002)(48376002)(63266004)(1096002)(2906002)(42186005)(4326007)(50226001)(19580395003)(103686003)(86362001)(5008740100001)(106466001)(81156008)(87936001)(5003940100001)(6806005)(50466002)(2351001)(107886002)(110136002)(36756003)(229853001)(36386004)(52956003)(50986999)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1NAM02HT062; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3912ef51-5ba1-4760-0dda-08d341b2d67b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:CY1NAM02HT062; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13018025)(13015025)(13023025)(8121501046)(5005006)(13017025)(10201501046)(3002001); SRVR:CY1NAM02HT062; BCL:0; PCL:0; RULEID:; SRVR:CY1NAM02HT062; X-Forefront-PRVS: 086831DFB4 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2016 09:21:14.5869 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT062 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The runtime adaptation patch missed the documentation update. This fixes the same. Signed-off-by: Shubhrajyoti Datta --- v2 changes: fix the dev param description drivers/i2c/busses/i2c-cadence.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index 6b08d16..f9f485d 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -124,6 +124,8 @@ /** * struct cdns_i2c - I2C device private data structure + * + * @dev: Pointer to device structure * @membase: Base address of the I2C device * @adap: I2C adapter instance * @p_msg: Message pointer @@ -815,8 +817,8 @@ static int cdns_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long } /** - * cdns_i2c_suspend - Suspend method for the driver - * @_dev: Address of the platform_device structure + * cdns_i2c_runtime_suspend - Runtime suspend method for the driver + * @dev: Address of the platform_device structure * * Put the driver into low power mode. * @@ -833,10 +835,10 @@ static int __maybe_unused cdns_i2c_runtime_suspend(struct device *dev) } /** - * cdns_i2c_resume - Resume from suspend - * @_dev: Address of the platform_device structure + * cdns_i2c_runtime_resume - Runtime resume + * @dev: Address of the platform_device structure * - * Resume operation after suspend. + * Runtime resume callback. * * Return: 0 on success and error value on error */