From patchwork Thu Aug 6 09:48:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 11703171 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B18D71731 for ; Thu, 6 Aug 2020 12:18:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 97EB322D2C for ; Thu, 6 Aug 2020 12:18:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JAWGzNxs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dM1GCLp9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97EB322D2C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: 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=OUKDrwBl2GylOrrE2Wvcq0HwUHGOjqCBRvvInEDioxg=; b=JAWGzNxsh6+3DmosnotKvlvRYC v77CmNf+3cwgHNdxbngm4hHeRxpRDnjy+uzY2LzwP6MQfVUG9A9n4cvdYDNKj4/LB5UCLO2NQdkEV pswS2bxr1gY4K7q0bk9J/PE0fJYUslyJePJ175OdUb0Ucso2LR0x/PZd+/zK2MErs4LyJZiAj96I2 QtVfNXPuXaHGhKnnYlgxrrrWdH5mMPdn0dtApl2O5nLroXZiNbU32Pg9KXM6x+SefXP2QY6Lplle3 Rnk3R3e2gdz+aYsogpD2BhncVaI4R8hq3UKzXOgEnqRxGJZvJXKKgDfEGwoczHTFkti/wD1naP6vS 1pm368+w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3cVw-0003b4-Ml; Thu, 06 Aug 2020 09:48:44 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3cVt-0003aP-J7; Thu, 06 Aug 2020 09:48:42 +0000 Received: by mail-wr1-x443.google.com with SMTP id p20so8460464wrf.0; Thu, 06 Aug 2020 02:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=pQQbHRDXqKGonZmyfA/7H4FL5vlKcEV+QfkkDKraWtE=; b=dM1GCLp90nDRXLp2vBQkMHchQY/VB0Hl0yinYxzsStKhyeDUdDIRSOhlF8vCsf4yPr 8192NiIdKfXofwr/WBi1KQTyQ+SJFKamXxfpj8yDxy5RzUWAuaPh/BKJO3PxeM+LO+/O b/zYTOKj2B5A8pWSFqWoh2s3kZkNnqfPJNxY8HKJhxWQW/GHP7IvF+yA8wyPSnNPOlfa enJgFTQdOx7wz/8vRiJWngQxGVbzv30hkrsy2bwErUSHueFpZoZ948cZriM6VhA3dmpv QvbAKqCTFOa/2R7MI4Xk6L+HDX0REwv3bxioVIDBcIVrBk7B8GE4rCctE9kiDQUyyjhf e4ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=pQQbHRDXqKGonZmyfA/7H4FL5vlKcEV+QfkkDKraWtE=; b=m+L5wB08f/wKvDyHDKQwO9adpepkUNJBB9v5aHO/c1R3wcxhabZBDETDZxIADWy4Df GyACsLlPOeehQeS4oQZaK7SsGQJPY/TnwBto63/sVgCBNNfxkUzTYDjXWtW1TVPOMVcz hhwGdGAmz1Q02DQojRXPMFQ5d7SszkL6r7NyG7uHj2EyQ/o6bLCIZuRXXw1Kn37+PYoT BZdxKSw/8ZyPOt+vwMtEPuS4PcM8mNs5kv1/gK0MebroQse0wTgEvPpFnXM8z7NcptTH AuBTJkeUTnYgTaL2SmOQ0cDBt131dhPSB047SttKz1F91oKSREbOiu4xeyoec70hrfcX xlNw== X-Gm-Message-State: AOAM531fOQjIH3EQkoo72++hs1q8SHH9I0iXGRRUJmXajg/uswwc3+6+ ahfUr0wRW5cu2QWvlfAKIqs= X-Google-Smtp-Source: ABdhPJy+IhnQM7YA6Ai0q9y4WNhairm37cfGCaJNnuPGVOSZRyFre9wihzJzR2mBEro2zDDT753Wbg== X-Received: by 2002:adf:9e90:: with SMTP id a16mr7034449wrf.40.1596707319687; Thu, 06 Aug 2020 02:48:39 -0700 (PDT) Received: from ziggy.stardust ([213.195.117.232]) by smtp.gmail.com with ESMTPSA id v12sm5795282wrs.2.2020.08.06.02.48.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Aug 2020 02:48:38 -0700 (PDT) To: qii.wang@mediatek.com, wsa@the-dreams.de, yingjoe.chen@mediatek.com From: Matthias Brugger Subject: [PATCH] i2c: mediatek: Fix i2c_spec_values description Message-ID: Date: Thu, 6 Aug 2020 11:48:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_054841_754112_41253DAC X-CRM114-Status: GOOD ( 13.60 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [matthias.bgg[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthias Brugger , linux-mediatek@lists.infradead.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The struct i2c_spec_values have it's members documented but is missing the starting '@', which leads to warings like: drivers/i2c/busses/i2c-mt65xx.c:267: warning: Function parameter or member 'min_low_ns' not described in 'i2c_spec_values' Signed-off-by: Matthias Brugger --- drivers/i2c/busses/i2c-mt65xx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index e889f74703e4..f51b35fc400f 100644 --- a/drivers/i2c/busses/i2c-mt65xx.c +++ b/drivers/i2c/busses/i2c-mt65xx.c @@ -253,10 +253,10 @@ struct mtk_i2c { /** * struct i2c_spec_values: - * min_low_ns: min LOW period of the SCL clock - * min_su_sta_ns: min set-up time for a repeated START condition - * max_hd_dat_ns: max data hold time - * min_su_dat_ns: min data set-up time + * @min_low_ns: min LOW period of the SCL clock + * @min_su_sta_ns: min set-up time for a repeated START condition + * @max_hd_dat_ns: max data hold time + * @min_su_dat_ns: min data set-up time */ struct i2c_spec_values { unsigned int min_low_ns;