From patchwork Fri Nov 2 12:45:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10665457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D82B313BF for ; Fri, 2 Nov 2018 12:46:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C37DC2B462 for ; Fri, 2 Nov 2018 12:46:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B7E9B2B472; Fri, 2 Nov 2018 12:46:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 52E862B462 for ; Fri, 2 Nov 2018 12:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=9dyypsKDkrcKQI9RFcI/nwQWPn9GSqYNUZywuYUhX10=; b=R11 vY89rkwY8DeW2LGjpYIZ+l/Ldxg8pOShvhLljeA1VVuraUWIlDOgGuXaRvrDDF/YJqMZko4Wxkqgr gjjbHex5149zzxj9Og6ndg/dIg2Dc5Ul1axxH8fZmmA3O/tkDyLIX839Z0riSbNiEnT0+aegtFzLv 34DYJDBOpzcJMqfOOeqM8dYcDEauN1a4kvGwNcu+dhJCsltQdd1VxO7m8P0GmOgaMZnDWHQlvzIaD aUiK6V8d6/WMaf/5/GXaOr65QoOC3IGSAxGlV6Niv4vJpVHsjcNT+yNGdgiOQ8uN8uqo8DVXY7jmA tsJFnyfkhfNIK9Z7kjGitaXCCi7bucA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIYpp-0005TP-VD; Fri, 02 Nov 2018 12:45:57 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIYpm-0005Rt-M8; Fri, 02 Nov 2018 12:45:56 +0000 Received: by mail-pl1-x642.google.com with SMTP id p6-v6so972060pll.4; Fri, 02 Nov 2018 05:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=e6jFR1ALXwYhaYHe/N6ISJN/k/hi7NKFhT6aKpD96MU=; b=rEV8v/eyzrzg3YsFnQyQkaXkV1iMXsSlpk53rwaelxbVvrsvoj+zqKvwMGPx7CV7dK 4x6/pEC384nIi7RCqLy9IYFWktyYC+IK82/HN0h/7jvujJgsymuHZDv1cSUWZ+crdrdc /vjcRj1Re2p8xCmMEEtNfEGuQ6KOdNYuj4uZ+RUgGoFez9NbR/wzod7/Grvk4ihgETf3 BCyE5wKG8qbLKsCgyzkIpbcnnVr0dSJi2kUx3XO74Lo0C1nrb59T7P2bwiQ6prUcu2yc mfO1fkqGRF711Ku33q1Cav8Tn0LKxN9ehfIfuqdYll/JrRECEoDfgyeRZoD2J45HtMTS wo5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=e6jFR1ALXwYhaYHe/N6ISJN/k/hi7NKFhT6aKpD96MU=; b=paHl2tS+IK2CA1AMSDvSre+bbVtgKocv7LRE3FgfH6wjWqkz9KNy67/aUpGEt+dK+H 1UGVDRX2LfLCfJqsHolnt0Wex/jQ6mMHuoVM2DjobbVBhjOTpAd1QMPm4MJaQDWmVNAd xBvk6yBjKay22cVjIz6Owx13xG1DvFEU2om8ylMqBeIjM+Kp/uEZW/VDPX3Lx/blihGx 9yz8t/p+ZVjomSvrnvegYUne8DR8Pk3ftme8VuPa1xV7cHQCeYzTzqeWGU6U7xywLtl9 xSfv/3LEqt8GN2l/JFkhe3y8K1KYtGxEduNiGVYHiySq9nr9vISFXfTQ4YEXStpk+4Ap IUOw== X-Gm-Message-State: AGRZ1gKJ8cyUEd+3cg2K+pTBL+hFsiu7eoS81kpMW508r3S/fniy4xwC nwetiIEDe2apvKsHq9hqwnk= X-Google-Smtp-Source: AJdET5eKL0sn7Yt3blKvX8SxHZA3O21ZRW92YOB6RJXkC5S5rpyFwxa0vN/Qc60OOWn8PkqUtDz7Nw== X-Received: by 2002:a17:902:da8:: with SMTP id 37-v6mr11761891plv.12.1541162743967; Fri, 02 Nov 2018 05:45:43 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id l129-v6sm43830714pfc.155.2018.11.02.05.45.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Nov 2018 05:45:43 -0700 (PDT) From: Yangtao Li To: heiko@sntech.de Subject: [PATCH v2] i2c: rk3x: fix some typo Date: Fri, 2 Nov 2018 08:45:35 -0400 Message-Id: <20181102124535.24331-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181102_054554_723288_31A4999F X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , linux-rockchip@lists.infradead.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix multiple instances of a misspelled "Calculates". Signed-off-by: Yangtao Li Reviewed-by: Heiko Stuebner --- Changes in v2: -add commit message --- drivers/i2c/busses/i2c-rk3x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index b8a2728dd4b6..fe347e8e2a23 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -555,7 +555,7 @@ static const struct i2c_spec_values *rk3x_i2c_get_spec(unsigned int speed) * * @clk_rate: I2C input clock rate * @t: Known I2C timing information - * @t_calc: Caculated rk3x private timings that would be written into regs + * @t_calc: Calculated rk3x private timings that would be written into regs * * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case * a best-effort divider value is returned in divs. If the target rate is @@ -716,7 +716,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, * * @clk_rate: I2C input clock rate * @t: Known I2C timing information - * @t_calc: Caculated rk3x private timings that would be written into regs + * @t_calc: Calculated rk3x private timings that would be written into regs * * Returns: 0 on success, -EINVAL if the goal SCL rate is too slow. In that case * a best-effort divider value is returned in divs. If the target rate is