Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2222939pxa; Fri, 7 Aug 2020 06:20:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6U26eekJStPtbpcuRNfMl0T58/rSgW+Z5gjmmIdgeR/U43fb9lGAF7EQUbXYVoZJ6kyR4 X-Received: by 2002:a50:af86:: with SMTP id h6mr9098347edd.132.1596806419717; Fri, 07 Aug 2020 06:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596806419; cv=none; d=google.com; s=arc-20160816; b=OlabsvfGCUVXPuHjJ/blT54G6Qke2c7FZMubVWlhrQre/b3INlC68lFJK094w5nlvv iE64lkqS2sna8QYzb53Rlm+RuglzRC1mIGiGU8yPuiql30VMzfuHL5l9n0otLzYay8mM RQ0t08ulrrprNrN+CT4sLWQ4YAeUqXtm8Cisqk5gxo3pv53fSzpdBY3XRgzBxAuEM8gN j/TnfweWV1JJY3eE3eFxvkpVCiVKOUhgwQXctkm4vFZwRNKQeg+xQf4C9K4K6FsTcldc MeJVZjt58Bw6ygDgIMgdaq5NKmHwP5KDP+EwupC3Yoz+TPTe6vnGXGRVD+oVxunCwpZ+ XTpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C6icil6VbYtHgs+zcSKWRArnJp89YUqNWNj8pgK9iY4=; b=rA2+EEPgTGK69mhCo2nAiMy2nQzsADSWzry8+Bv6LCxPFOkgGLXVFR2VbQhA3U4eU7 GABZ0U0gtUXnufh12A3E5bJ2ViMPIfL9KeyMcSnssmaGfjHFPGqoUy3VQ2GxfU6DsXaS 1T8fvr+Sn3c3iJ9c/HBBj8g6nPnviw038g6uCrD3ss+vJh23AbjXMrIL/HE9T+dX7nm8 8cWpJ+u6zY91Ht9G3hq0T9Ss5XyrwE9SqHtKVghP/v94hSHN4g54HvJVRjPRdUG3lMb0 tttiwdG3wpm4cAkiFtUVoKioFFirMLAgz045xTBSApqWUiOMVsXZRbjq6Syim9a/x9y1 1vlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="K3+w16/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si5208855eju.316.2020.08.07.06.19.56; Fri, 07 Aug 2020 06:20:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="K3+w16/v"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726131AbgHGNTP (ORCPT + 99 others); Fri, 7 Aug 2020 09:19:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:39634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726015AbgHGNTO (ORCPT ); Fri, 7 Aug 2020 09:19:14 -0400 Received: from ziggy.com (81.172.57.81.dyn.user.ono.com [81.172.57.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E29522086A; Fri, 7 Aug 2020 13:19:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596806354; bh=90W/RlmEX3PAdf4oEsZD+boIBLyjUS1TrXoIlmoXv6M=; h=From:To:Cc:Subject:Date:From; b=K3+w16/vPkbiOROuEmRUBKt2EyFZDHkhwM5D5RPR/xWJI8gBlWeT59Be2kccdeeRA sQapHJNEC+JUFGTMpNd6O9xDexL3aIIAvw7Ip+Un4iDC7tbW0jmLN+maSqoWj7tUOr RRdZl8udmoxeaVGeBQbK1KrJszBNor5PMilIcjUU= From: matthias.bgg@kernel.org To: qii.wang@mediatek.com, matthias.bgg@gmail.com, wsa@the-dreams.de, yingjoe.chen@mediatek.com Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Matthias Brugger Subject: [v2] i2c: mediatek: Fix i2c_spec_values description Date: Fri, 7 Aug 2020 15:19:04 +0200 Message-Id: <20200807131904.6515-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger 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' We also delete min_high_ns member as it is not used in the code. Signed-off-by: Matthias Brugger --- Changes since v1: delete mint_high_ns member drivers/i2c/busses/i2c-mt65xx.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-mt65xx.c b/drivers/i2c/busses/i2c-mt65xx.c index e889f74703e4..efc14041d45b 100644 --- a/drivers/i2c/busses/i2c-mt65xx.c +++ b/drivers/i2c/busses/i2c-mt65xx.c @@ -253,14 +253,13 @@ 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; - unsigned int min_high_ns; unsigned int min_su_sta_ns; unsigned int max_hd_dat_ns; unsigned int min_su_dat_ns; -- 2.28.0