Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp488349imm; Fri, 11 May 2018 01:21:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpRX9mQW2Ko1cvUweWUyYgBiiKVyvY2TOWkt0Mx5XHoDR6hA+M0de9cYn2NFn2FMWaOQqG3 X-Received: by 2002:a17:902:145:: with SMTP id 63-v6mr4600990plb.332.1526026889574; Fri, 11 May 2018 01:21:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526026889; cv=none; d=google.com; s=arc-20160816; b=N3ABel1p8z3XX0Su0Nhk9YH/uEx5c1tXgIxehTAE+SMj2k2rAe6vq1qJY8WoqOQXQx Q55HdaPSd0phkTJ1Hezo0v++c3Jk75iT5bKMMOPLdC0VlrwX172tCiQBiPD9x/6afWXc wkUD35oumBa6MzORwaEXnuqB86Wf3l/3tVu3rpzwTUD9N2Hil/8r+YBaVscEV8Tqr/9A wxGI/kOEFZmImr0m46FqRUwxOBI6grUVT57dU3hgQP/+QyS8FhtXTaWH6HmWoqFefy2f JcXyOp4RTuKGN/I+zRWY+EotqgNwaFHdMgnIdx9+3KqGcTN1Wsl5fkSHk2X+FKaINvTK TusQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=bg310Qp5NfvxaR1hvXreDdaVCk3l7QKIYLMdwMNzir4=; b=0xX0U72gSXgQqUEO4y7QFlNH67Ps84ODshb2WmTvbY4gcR0HfJo1mK1QvL6Y2hZJ+X XIQi9fUKgpg2j4J4ai9ki3IlmOf+GA1wW8Z1rDgs3T/LpBGKoRTbbRJcFTipBzBE9WG1 hTOnwYHzY7i6og8frGaXgnOcV2oy7qS2frsuiU0WKn444opSL1KfJ5vXMXZf6BJcOtgW VxFxpQJBTWzlyIV1XlEwSlNk0Cgmob7nJmQt6VvsmyE0niKCEenKPRTAo41JjIjfN2l+ U2kxOoJgmKz1XEggvRUKsQ+Jba2hTxb7Qi5Lq2WlP0gybgSO/Zp3vjP8Ez+gI7xMxeP+ rQCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y25-v6si2604055pfn.248.2018.05.11.01.21.15; Fri, 11 May 2018 01:21:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827AbeEKIUx (ORCPT + 99 others); Fri, 11 May 2018 04:20:53 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:23750 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752733AbeEKIUu (ORCPT ); Fri, 11 May 2018 04:20:50 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4B8Itk6022670; Fri, 11 May 2018 10:20:26 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hucjkf2wj-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 May 2018 10:20:26 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0C57D34; Fri, 11 May 2018 08:20:26 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node2.st.com [10.75.127.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D9B622A72; Fri, 11 May 2018 08:20:25 +0000 (GMT) Received: from localhost (10.75.127.48) by SFHDAG5NODE2.st.com (10.75.127.14) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 11 May 2018 10:20:25 +0200 From: Pierre-Yves MORDRET To: Wolfram Sang , Maxime Coquelin , Alexandre Torgue , Colin Ian King , , , CC: Pierre-Yves MORDRET Subject: [PATCH] i2c: i2c-stm32f7: fix documentation typo Date: Fri, 11 May 2018 10:20:25 +0200 Message-ID: <1526026825-2996-1-git-send-email-pierre-yves.mordret@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-11_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some data structure members were either misspelled or missing. Fixes: aeb068c572 ("i2c: i2c-stm32f7: add driver") Fixes: 380b8a85e7 ("i2c: i2c-stm32f7: Add initial SMBus protocols support") Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c index 0f87449..62d023e 100644 --- a/drivers/i2c/busses/i2c-stm32f7.c +++ b/drivers/i2c/busses/i2c-stm32f7.c @@ -211,11 +211,12 @@ struct stm32f7_i2c_setup { /** * struct stm32f7_i2c_timings - private I2C output parameters - * @prec: Prescaler value + * @node: List entry + * @presc: Prescaler value * @scldel: Data setup time * @sdadel: Data hold time * @sclh: SCL high period (master mode) - * @sclh: SCL low period (master mode) + * @scll: SCL low period (master mode) */ struct stm32f7_i2c_timings { struct list_head node; @@ -237,7 +238,7 @@ struct stm32f7_i2c_timings { * @size: type of SMBus protocol * @read_write: direction of SMBus protocol * SMBus block read and SMBus block write - block read process call protocols - * @smbus_buff: buffer to be used for SMBus protocol transfer. It will + * @smbus_buf: buffer to be used for SMBus protocol transfer. It will * contain a maximum of 32 bytes of data + byte command + byte count + PEC * This buffer has to be 32-bit aligned to be compliant with memory address * register in DMA mode. -- 2.7.4