From patchwork Thu May 20 19:00:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443309 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252855jac; Thu, 20 May 2021 12:01:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRtSGCi3k6NBPpXzLiwbx898/Ry44+STg4rIjEy+xSQKxLfeeyx/Y24iozQOwBGrwOXJkQ X-Received: by 2002:a50:fb8c:: with SMTP id e12mr6578000edq.93.1621537280024; Thu, 20 May 2021 12:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537280; cv=none; d=google.com; s=arc-20160816; b=VVdvu2j5ytOGScmjtbt9nHF+rBf+bOuGyTK0yMYAgOVJJMwTSxglmVYXLB05mbPNxa kgZGLa0hYRUkZSjoVatntbhfzTFqrT8FSCnXb+XA2QCJMnTHCSAmx23Td7K19qtw7IUp IUCCm0j8jzdn1Pp6sXT4gUFKyrlkQXWGGovTNrblsdDeqyty5QkmXgSOFwJw9xJ1ulRZ OOjHYWpWfEUfx3iU9O7UH2KcxSXxX2z2IOL+Pxru95oYImKk/Tjio9+D0bwckc2Rh2Tm 00Eviw9nn93Q2fPyonEQaDLkPrHh4zkk1usN81u/HRaP5yIOw3Er4lwxZVMjZqEAOC6M oEqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=TxxJuqez5QR6va/TdQ9lFMVQ4aS4GDVzOhQ4Zz9zg+3A1DXHfMO4Odru3qoOACnJtp jyf+UTtNBukeSNsFx4QpCG0a7/j7MckEnwhJVqdCKY/Xhzd7qTC8I3OZuuPrK6kde0SP ThegzdyOGXZy9+tIvM6ohfqL02ZV5NmKtkImimiTR05SkVynoxVnKJ2glMeEXM29rWlr 64Xoa+55aNa1tpuAiFbGeoB14YGeuNW7VOoOTBXchrqNfSWgTsO/+FQCoLA4AC+1fK5W jzSXjWVJU11DcajoSNm739yey8BO9xFYxuhFtyzaN9U5hVRfkeqS19IDHVZ6+KGwR7hf SRIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OxzNzvSl; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.19; Thu, 20 May 2021 12:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=OxzNzvSl; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234486AbhETTCe (ORCPT + 2 others); Thu, 20 May 2021 15:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236506AbhETTCd (ORCPT ); Thu, 20 May 2021 15:02:33 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28ADC061763 for ; Thu, 20 May 2021 12:01:11 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id f19-20020a05600c1553b02901794fafcfefso5399630wmg.2 for ; Thu, 20 May 2021 12:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=OxzNzvSl5dKEJkHxeZLPOEiYfu84JT2ULxT0aBFA+R1FLe0OI0tceeEhC572Hl1bFf XPfA0V5ZcH8hRr9YWsLuduCFexwc0DXbXm3BODq+bTHOtYrmhjLRdeQ7pgRlfTp1rrX9 vdow26GL+HV+vGUAtRovh7H/dJafI3fUZ7TutM6GQFQh9yX2JcByXnH8OzsWL6ihLGhW aVm51sDbseOXXwmRdEjfUDUXaCI3EQVRFbUA4LOcb3301ZfmaNEH8T6CeaWl/vXXHtOh 1iBXdY3K1ck6dxFYTulP63PEAYfvtZU4pnKSj53DkQs4ES3NLdS1z6EoJjL1Mz6L4aGl eRrg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=uDuZrk4UNMKTd6gnOhV3WWQzrwgx7DTKW4HaKm1ez8s=; b=L+fI/0ObJlGRvKjPUkoXV807P0ZpCzkUDTWsTIFM64k8WVZU6JuJYYPM1kGjCxTIDm shIHxRUkKIz7QiIxcAG3ToUSmI9i59/XXXthI9GP/SDCPH1qNHBGt/Vis6fTRnXOAoQL mY9mvKg2/O3yd+JCo0D9UJdm49qXqZRc/jJeNb+ynL7fe2zqkmKgN1nibCL1Y2E05oa8 i1kR9UtD+jemfu25+HN4qWD9zysJd5Wkmin7iqxya0rYGYAKeDVdl83O/LIfl2AWfsjg GsA3vEG0lVamRJGJFyD40lHBNG8iu9pI+1sJ4fXTGJFfkLAytnXrzrtNoUVEtqh//kOO l1oA== X-Gm-Message-State: AOAM530tBTl3s3n2TRF98OaXFHMSGerzigoF9yS1lPdqaFT7N08CZx/p 37pzG9b7FfVMIrYyhQK3PjrZ4PQ/YL+QjKiB X-Received: by 2002:a7b:c14f:: with SMTP id z15mr5500694wmi.149.1621537270416; Thu, 20 May 2021 12:01:10 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:09 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Linus Walleij , Srinidhi Kasagar , Sachin Verma , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 01/16] i2c: busses: i2c-nomadik: Fix formatting issue pertaining to 'timeout' Date: Thu, 20 May 2021 20:00:50 +0100 Message-Id: <20210520190105.3772683-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-nomadik.c:184: warning: Function parameter or member 'timeout' not described in 'nmk_i2c_dev' Cc: Linus Walleij Cc: Srinidhi Kasagar Cc: Sachin Verma Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Linus Walleij diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index dc77e1c4e80f9..a2d12a5b1c34c 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -159,7 +159,7 @@ struct i2c_nmk_client { * @clk_freq: clock frequency for the operation mode * @tft: Tx FIFO Threshold in bytes * @rft: Rx FIFO Threshold in bytes - * @timeout Slave response timeout (ms) + * @timeout: Slave response timeout (ms) * @sm: speed mode * @stop: stop condition. * @xfer_complete: acknowledge completion for a I2C message. From patchwork Thu May 20 19:00:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443310 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252868jac; Thu, 20 May 2021 12:01:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwckocVNl126Yy9hcyots7UDwTa8PGeE7i+4QQXmUlY2aQdXIx1na6JS3y0TLUAEh3PmE65 X-Received: by 2002:a17:906:11cc:: with SMTP id o12mr5974610eja.547.1621537280437; Thu, 20 May 2021 12:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537280; cv=none; d=google.com; s=arc-20160816; b=ENxoCn+kAMwSRy9NlLzmvKUuGmQXamNl/csjHbGCbdexZFT9crfz6hqb1x8++gOHrh kIxWUHl7WSAzPyhFQl+tIybkP5CDrrKG4FYtxPRQb3LE+4WdTZ+Jb0HfNAe2BiFOTrtH 1LVgLP1yzQgBjRkA1Kc0fafDkdtjiCiX6vRf2RPyUcyU1F0DEEUsrkwy5pxng8yFGdNj mANYZbpej4AkBIV9C2CK+7WSklBzDV/fbGiZQsU/ZLDr1d1DqCRR4hsiXuXCcQMQGukg XvofZ7ANtVZMphuyPdBetWaLt2Iu4HtbCSJPGeCjLoWxph3AUkj8b8D9Z5UgX1jj/qnS Dt0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OpCSticW7YPgZgJxCE8cbDx0EqQrxetbzAKz9peYyF8=; b=Va/TgPE6dS4VL/2CGS924L22rl+7FAHxDAmduVJRUAflBBVyNEwEhXMA3SmmCMTva5 Ir8gK/pW+3S2WTkW095wYlNuo6EGIUmIkBv1gLPTyEGaHvrIcdaaQBdaFtKOKWSF4CXE SHz78/8eqBuAotMlvfPpo+48BsimoBSabyUXRH60BI6DpSwXkv9wQ0SIIyEe98q+2kyW gjgAYz2eXjHROYno/Pydkp5OLVvmhDG2m/ksas3r/6WMMftxTLEsq5UMPzJilIgkxfLU yUCkgIPpFgDTU0e0QrONvhRyGFozzj3Hj4/V+7GlohevnACs18FNvCCEvda4Ge571UnD QMCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rum12OCX; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.20; Thu, 20 May 2021 12:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=rum12OCX; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236585AbhETTCf (ORCPT + 2 others); Thu, 20 May 2021 15:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236547AbhETTCe (ORCPT ); Thu, 20 May 2021 15:02:34 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB68AC061574 for ; Thu, 20 May 2021 12:01:12 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id u4-20020a05600c00c4b02901774b80945cso6031251wmm.3 for ; Thu, 20 May 2021 12:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OpCSticW7YPgZgJxCE8cbDx0EqQrxetbzAKz9peYyF8=; b=rum12OCXNeB91NHK8OZ7C8IAuERyHFgpqirkg8+/GdO9/4Aqq8IK2bdHC5hQnrQPCn 8g6i/4sSK6ecIyG4wKapN0uXY2UnUBPijUZQtY2IotooG+y8Tr7zN2mCfUfDV/lmWZUc DTDDMadcQ1MT2W586OkIW4NRqrL5l8WgwoLgEAlaC17MNWCMg/0w1VlbejargJLBCcvA nwtTTBZ+MeZOZ4n/S33TEw98bUEG5PYdJxxo0BeJbdQc7lHrCyDnyJD0k88gHJY96KNv ftQUFOsluDrJCq/PcOdhz+AmD/mcOpn03wA125vbu9661mXoRiuJQC9sTPhBQ2fOkPy7 61pg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OpCSticW7YPgZgJxCE8cbDx0EqQrxetbzAKz9peYyF8=; b=Iuu8CO6cO3440SLK/Do22Ydr7lOTMx4euyH8koFAiovvSIkaRwQLhAeFd+FkYTMfk8 3ks93hL4OXcRVgQTQggicGh09yyckIWMM3TXgrNt3IoipJxsIO+8hsmuZCvZBNecZHmd 2pEan8F7F3bIMxUE9X7NNeiClvg1nyu6zXVvVQUPmgY57j+gfCi+x3PFdVnQAeMnUBgJ 3L3k1QzuCsOWDu8eVe7/dotN0NnxZ3aXqdGO+e7D+hQm0a0pF8+UhCvuEadyrufY15/X 0V+jZYTKi4mhYvoE27x6qEM0IBq24CNDq+NWV8yt3gvwOE67GbexdXl54deywu5Umcq9 dYvw== X-Gm-Message-State: AOAM530Nm0X3rVefPJ+5OH8o3hVWSFiQCwTLGuNlDxED5joJvMWFrk3y qMCbikW+amODKwi07XL/MzCG5A== X-Received: by 2002:a05:600c:b58:: with SMTP id k24mr5373590wmr.155.1621537271597; Thu, 20 May 2021 12:01:11 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:11 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Rosin , Doug Anderson , linux-i2c@vger.kernel.org Subject: [PATCH 02/16] i2c: muxes: i2c-arb-gpio-challenge: Demote non-conformant kernel-doc headers Date: Thu, 20 May 2021 20:00:51 +0100 Message-Id: <20210520190105.3772683-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/muxes/i2c-arb-gpio-challenge.c:43: warning: Function parameter or member 'muxc' not described in 'i2c_arbitrator_select' drivers/i2c/muxes/i2c-arb-gpio-challenge.c:43: warning: Function parameter or member 'chan' not described in 'i2c_arbitrator_select' drivers/i2c/muxes/i2c-arb-gpio-challenge.c:86: warning: Function parameter or member 'muxc' not described in 'i2c_arbitrator_deselect' drivers/i2c/muxes/i2c-arb-gpio-challenge.c:86: warning: Function parameter or member 'chan' not described in 'i2c_arbitrator_deselect' Cc: Peter Rosin Cc: Doug Anderson Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Acked-by: Douglas Anderson Acked-by: Peter Rosin diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 6dc88902c189f..1c78657631f4f 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -34,7 +34,7 @@ struct i2c_arbitrator_data { }; -/** +/* * i2c_arbitrator_select - claim the I2C bus * * Use the GPIO-based signalling protocol; return -EBUSY if we fail. @@ -77,7 +77,7 @@ static int i2c_arbitrator_select(struct i2c_mux_core *muxc, u32 chan) return -EBUSY; } -/** +/* * i2c_arbitrator_deselect - release the I2C bus * * Release the I2C bus using the GPIO-based signalling protocol. From patchwork Thu May 20 19:00:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443311 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252892jac; Thu, 20 May 2021 12:01:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvOsMDDI0YEwOuHUES3NzRi0GMG/fjeQ+H3BaBSWnWJiwREfSPNNMrVmmjAwf+XkPhcve7 X-Received: by 2002:a17:906:81cd:: with SMTP id e13mr6013280ejx.339.1621537282165; Thu, 20 May 2021 12:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537282; cv=none; d=google.com; s=arc-20160816; b=VUcaknTx51Lf2GRNzuN3JBcociTikMg1UousMd9SXknONmc+ztXX0LrVhrUTHJj7Uz snbQc5MeLHowfXOOEo/MCihUMwdeGYA0X2AT40U/MLWT314frhLKfBPM44ljyWOWE5/b paBhKui4B8+g0Ny8ik3OM8cCQVqjsTY2K0Y+8j1eMO/ewbBbNl4h93hVzzgvfsCdP9eA MlJvv0C2c2Inwjn6EmmHyKRATbUxN2fUmGeu2bbiiUhCER0+Btc9sl+84g6qz7RtAhgB 9sx86ZN/YkNW2lIxYnYhOqFofiPHXp5jzwQjvRtwSjTcQAmTYkbMl9zICOM2cVWjj4Jz aVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mF+neKU2nq/1Cqlbfk4p91mZ7XsnhSwAAnZLGFP4jWc=; b=S8ecAbh6mFzL6zpfZph0mUDeTRIyYM+ocUg6UyW/3XF8nD4Rtrv2oktadSVnKuL44+ ZM8EOsOKWYEuVXKiuvq9d4L/JwbrrGhRXayTrYePElihotERD62sbr+LR4S0kmZv9F8n 6+pSF7m6UOMWUaytzUG1fbt/QaO4JNA0PdxzbpxbD+co9f4WSAZeEObsymLZ90mhrVeV 5uaobUr3zf657U7WbLGiRdoeFc30CRM+Ss03TrJM0NC5RhyA9GcmYPwYbunypE2WasV9 aHvc4dlnnJHm8ah20u9vPxJiZsLcZF25l5/3dgFQ902yCliESyE5h1GAejwY4z66UH9j VtkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UO+ZfIg1; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.21; Thu, 20 May 2021 12:01:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=UO+ZfIg1; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236501AbhETTCk (ORCPT + 2 others); Thu, 20 May 2021 15:02:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236596AbhETTCg (ORCPT ); Thu, 20 May 2021 15:02:36 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F796C0613ED for ; Thu, 20 May 2021 12:01:14 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id b7so9204680wmh.5 for ; Thu, 20 May 2021 12:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mF+neKU2nq/1Cqlbfk4p91mZ7XsnhSwAAnZLGFP4jWc=; b=UO+ZfIg1/rbFgC/rxYs43xG92URmTgboCXxX4QkHVvyCJXxBea2TdOJaIacV1SvMyE kPZ/IXOmszn+XMPvv1Rj4J6huJl9VZBSuPbQy0Aubx9GP5yopCAokNSxXtHnIeX/TaxQ Jy45Uu8jNkeBK/d59ZTOgnCtqwl4OtKKenGs6pO1pSmaIMUGKgDlgXDNHD+CUkB4f0D9 h1m9POgGbPolO2iaudn/w++yHMNGAyBfXnsGFbb5JZA6b1gUYyZl6Nx183uMjISWZWgW HzqG+3p6WSUS+EBn9AAD57M5+gX1hLFhpg5Dx8r/+KBeD+4qy9e5HfhN0spzPU5VlCOq /jwQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=mF+neKU2nq/1Cqlbfk4p91mZ7XsnhSwAAnZLGFP4jWc=; b=otDuRVc8dSxC+kmGi5x5WVGxbiduC3pC7SlXvChRDDfOuDFmx8eQ9IvbfoKObZETAr DKl1CdvZPxUWagCS073kjwe6RXUZ0PsBCcSZxMBna5OqqjOdC3P+LCqZcuCwCt1Pjlav D7N+dZROdrI16Le07KIhOUJFvH/+z6HX2y4JBKmv2KpZpyXJHGy6WPrWC2pAeOVmSsAx Qh5dPwcRj3quQy8xFRaWqsk3w31rEWziRUwflKE3HsiFRAALi0huzAHzjU9VFDXvUG+F L6NzbUGwcl5lPF+jhGQkb98upe1V/x5tuK4Mnj2E5b7PRo7CC+W5XRnq9lo3Pit30LjK 9+pg== X-Gm-Message-State: AOAM5317WRUSwIANSW6RoPnuM9VKMNetHEDY6xah4X6G8bP2DXx/CzGJ H7GN8ArJbCjhmphTU0BrvMfDyw== X-Received: by 2002:a1c:35c2:: with SMTP id c185mr4973761wma.54.1621537273071; Thu, 20 May 2021 12:01:13 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:12 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jean Delvare , Rudolf Marek , linux-i2c@vger.kernel.org Subject: [PATCH 03/16] i2c: busses: i2c-ali1563: File headers are not good candidates for kernel-doc Date: Thu, 20 May 2021 20:00:52 +0100 Message-Id: <20210520190105.3772683-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-ali1563.c:24: warning: expecting prototype for i2c(). Prototype was for ALI1563_MAX_TIMEOUT() instead Cc: Jean Delvare Cc: Rudolf Marek Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-ali1563.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Jean Delvare diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c index 4d12e3da12f0d..55a9e93fbfeb5 100644 --- a/drivers/i2c/busses/i2c-ali1563.c +++ b/drivers/i2c/busses/i2c-ali1563.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge * * Copyright (C) 2004 Patrick Mochel From patchwork Thu May 20 19:00:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443312 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252922jac; Thu, 20 May 2021 12:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+eXOTXE2tntybEuA0oOkJuRx9hHEnIT68jjVheTU43TmRo55T9WbvRARxNashyZl80A0V X-Received: by 2002:aa7:c1c9:: with SMTP id d9mr6792873edp.308.1621537283366; Thu, 20 May 2021 12:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537283; cv=none; d=google.com; s=arc-20160816; b=gcTSxOZOTDLNS6K91tgI1Kh11KJV0YnPFMt+ptWyAFZT6lQmvsjVdGkzNTVwjPm3j2 YqjiQBNrkIU3H3Q6ft3tIDfDiFUCIS/tLUpvftJPwgrjbH9HKz2MORuJamtfpzu1rBOJ /lEnq7LUNxDhVgJ1xzV9KMnWsCldGMgts1IVP/GIQKHKscqj5fbsi9sCW2YbSMFcLtus T654EM1x1N6EgVZpbilNPIp1jb0/+4SLz1MRwVBTaJ3RIbmuHAO9fBCq/PJmcaC6vde/ 5mVDNdJYBfSg4mMW3VkBAVcDeI2e5PReEIOKrhOJ7XzskLMeH85/oN6QSzlcicbzYiMo soYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t4TZ9u6oAq4SZBg4hZTxMATDAwTOPHS9ZK/AyDLn4d4=; b=EUV5PwgZhbhSP0NXnJXjTzvg7+s6P119/arU/SKrgAJtg5Km/pTdngKT+uUpqOBzRo 2aPuk9cjSKJ/juMHnPRYKGr7uZanbXsFpg1fnSeyDh74mT+rjaSPVb8VIv5WHBlXndE3 lCetIm3rNaGp5tbEMzTnvFBOU1U/eaBaqPatqXTjV2XpVoCsEn0qkvdTv6lRwSeItfcj URLG96qYxOVWbd1dSkccC680PJ29HWUtYTfZ96cdFanq4k+v2qknchYUQFijDT/mOiZ9 raEZBQrgkGYZaX36aeaPYxGHCDJuaWYODglKwWXAdgZiloam2iJyMd9NJlRUNfnyP19N +/kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e2k7VHb1; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.23; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=e2k7VHb1; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236505AbhETTCl (ORCPT + 2 others); Thu, 20 May 2021 15:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236600AbhETTCi (ORCPT ); Thu, 20 May 2021 15:02:38 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 606B5C061763 for ; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so6023066wmf.5 for ; Thu, 20 May 2021 12:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t4TZ9u6oAq4SZBg4hZTxMATDAwTOPHS9ZK/AyDLn4d4=; b=e2k7VHb12sv3hOQCa7LrwLF05Pkak+LDDNKPB6Uz0X6RrE6BoBttoxgMaxR6QONNME rTRW9po870y8+6j/Z7p4TRsSMyD4CIU5rkF4UYFndGVcopi9ebh919F3nd9cee2pn9/+ bRCW2X80fPY8kwz0htp4hC0OjP5Rdl8aZcpSCeIykhQQ9tFWQKgOvWIagJHJXzhK4kiQ rnjAJrEWDtY/9HC06X0ez/WO5me95KlF8agImRmmEVpfPGewoJgoENGyN0ZGIosuUYC0 6gjU9RejlXrTaU2PcqnTCSf7r6QCDtCxAK6CbBVzeu35Mu+iAjIogHqnr+z8qwwMU0RS iMWg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=t4TZ9u6oAq4SZBg4hZTxMATDAwTOPHS9ZK/AyDLn4d4=; b=nhSTiG/8DDrS16jmGxCWAikw+InnM/t4pTctrBcxVBvnwtXqQdNZOvoyUoRF4wEtx9 HiIUw6uDhGlaxpTYlBoEL9WDK+KGwzvsA8i0CjJvRjAWOiLiWEpxFh/h2v6DhR6gzOps 7KgvDGG84mv8PacTJ3jwObgyYOdZyIPJWtnnSwHI3JExW/2vOLv+yD0/BBIB36hItkdD J1pyKkqme+Nx3RWVKs6CF4U398XH2zudyzLsTYWnJJbOfF140oH+cMJt7cnDX10miwgH F8tkGgu7yPeUrmvkARphZ1HPHzdMwoa2GlJFgFTmI4Xqb/GgZ6j22wEp4MjoTB+Ocy31 zIVA== X-Gm-Message-State: AOAM532SPMhUhVgq1aNq0GRuaPLOTeei83W89CBRoqTDWIlpYYgHhTx8 JokSAtqwZQzJrnr/0DzE3LPalQ== X-Received: by 2002:a1c:7315:: with SMTP id d21mr5149019wmb.155.1621537273966; Thu, 20 May 2021 12:01:13 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:13 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Thor Thayer , linux-i2c@vger.kernel.org Subject: [PATCH 04/16] i2c: busses: i2c-altera: Fix formatting issue in struct and demote unworthy kernel-doc headers Date: Thu, 20 May 2021 20:00:53 +0100 Message-Id: <20210520190105.3772683-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-altera.c:74: warning: cannot understand function prototype: 'struct altr_i2c_dev ' drivers/i2c/busses/i2c-altera.c:180: warning: Function parameter or member 'idev' not described in 'altr_i2c_transfer' drivers/i2c/busses/i2c-altera.c:180: warning: Function parameter or member 'data' not described in 'altr_i2c_transfer' drivers/i2c/busses/i2c-altera.c:193: warning: Function parameter or member 'idev' not described in 'altr_i2c_empty_rx_fifo' drivers/i2c/busses/i2c-altera.c:209: warning: Function parameter or member 'idev' not described in 'altr_i2c_fill_tx_fifo' Cc: Thor Thayer Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-altera.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-altera.c b/drivers/i2c/busses/i2c-altera.c index 7d62cbda6e06c..354cf7e45c4a0 100644 --- a/drivers/i2c/busses/i2c-altera.c +++ b/drivers/i2c/busses/i2c-altera.c @@ -55,7 +55,7 @@ #define ALTR_I2C_XFER_TIMEOUT (msecs_to_jiffies(250)) /** - * altr_i2c_dev - I2C device context + * struct altr_i2c_dev - I2C device context * @base: pointer to register struct * @msg: pointer to current message * @msg_len: number of bytes transferred in msg @@ -172,7 +172,7 @@ static void altr_i2c_init(struct altr_i2c_dev *idev) altr_i2c_int_enable(idev, ALTR_I2C_ALL_IRQ, false); } -/** +/* * altr_i2c_transfer - On the last byte to be transmitted, send * a Stop bit on the last byte. */ @@ -185,7 +185,7 @@ static void altr_i2c_transfer(struct altr_i2c_dev *idev, u32 data) writel(data, idev->base + ALTR_I2C_TFR_CMD); } -/** +/* * altr_i2c_empty_rx_fifo - Fetch data from RX FIFO until end of * transfer. Send a Stop bit on the last byte. */ @@ -201,9 +201,8 @@ static void altr_i2c_empty_rx_fifo(struct altr_i2c_dev *idev) } } -/** +/* * altr_i2c_fill_tx_fifo - Fill TX FIFO from current message buffer. - * @return: Number of bytes left to transfer. */ static int altr_i2c_fill_tx_fifo(struct altr_i2c_dev *idev) { From patchwork Thu May 20 19:00:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443313 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252930jac; Thu, 20 May 2021 12:01:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxByqi6UmIuc9tGjH1kpxKgrWJMdUZjnlzbmAv+103Ym1Z/nWBxoX4yNTFWChZPZlyqo3MC X-Received: by 2002:a17:906:e98:: with SMTP id p24mr6075474ejf.478.1621537283796; Thu, 20 May 2021 12:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537283; cv=none; d=google.com; s=arc-20160816; b=meNMo203NqrDWHICiv1gCvbQlLTc8XPqDwUwhjsttbx3QSspGW+scD5vqPSgxrd7Zd MdF257daujZDAPN0rcEzeBLJlk+IPmqf1YzHnrF5GHYGtB99tKSCAT8MF0jOGt45w/Nr XF1zOeFPIx7NQYnPLDXOdwevJrDDGW2X/uCXqFDmTnV/Y7H7ajEn9eDVOG2odjMLX1vb geL+8cwFJPonp2NY1CxqXK9tZOqixiFZsfTNY6nLJfotPSEA2a1iQCP9OV4qTpl/cka5 TrjU1NjYweVhPYitq02WFEdDR0IUaDL4ZCYvrW3cC36QKQyZsa7m+sXQ3qrzDggg8r15 8j+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=Zc/+yEDr+w9TPlcNobjJ81ZFwTCNTG0vt3BMJzhFdalKiNUueEysvF9W8d+HhVVFEO eiLjHC9sasr2gdnQEzXtwKoQV4vThsRh0xIEFZbj6gkO2wMkw56JxQZrOZpFfWobSbCp 6QcJdyg3Sd0JwsObMzzCYcy9PR2z0q1l7uL8Bt7ADHbszhFEPr7xO0RkFYaqZLYi7PHB RcveDJSy6VMpgWBZEkKVg5iuBhmuriGCJJpdTFMo8HQ5ytnI7LUsMPOgUusxPsMKl9G9 l/Jy6PppsFgCYbo/dKA4hurbs+gnTogJgZH/eOVtEUfJjlfg79G+O7loXMv+ABueyKyy eZbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WEjFR9I2; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.23; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=WEjFR9I2; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236651AbhETTCl (ORCPT + 2 others); Thu, 20 May 2021 15:02:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236610AbhETTCj (ORCPT ); Thu, 20 May 2021 15:02:39 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAF1FC06138C for ; Thu, 20 May 2021 12:01:16 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id z137-20020a1c7e8f0000b02901774f2a7dc4so5621973wmc.0 for ; Thu, 20 May 2021 12:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=WEjFR9I20pFT5Qs9wmFrljlmfZP7vTI6gNIXTCFM20oq9F/DUik2fBKtZs4k9bxTrb 8prbrwtGwVnJAmeeGi0/IzeLS3WJGvXWfN25xdZkSurkpUMUuWmzU+q2aOerwi0RaiTB UzJQql9bKf4n7vDydlZ5kx1CjHt8I7iXGv1QexF+9c/5SWrDF43APOAA1/wD/9DDgxoM hFDhvCxkZdfZme7MJOq+9Y7ySb5D3DjTs8qQeF7wjskM7mbH5SFCICIrSEdIY6kv62DX ZCRssTuXjaGaGGN+whln4J/t2UP8SSSctqvKPyCoZuK1MJ6veVnDD841dkgSKEFTcYRS qECw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=6u3rdbvD9PTfcCA7ACz3qmikp01AY6p3i41CuN7fNDA=; b=edwWezYR6Dl730OrOP3p39aJhlT17YYhNUhPMHphKdar5o/6/vWnf6KBLCe6YcVX/O ZDt2w7u47OP/sLLAyBTn5teAxf3i/gV7M74M59KyETCt/92kBtd3AondG+7CM1VlPtyK v5DZZGcoeqW6udasawy2Z/Di0U+VLpT6JXTQmqSmvEfzcSJ4QtV3KWnxktcQDWbR0YhS ivbk3Gjweuqn2F0/HQoPZQwlyXG8Bs3nibBQWSdekI4ljwnWMrNqfxVnm3xhZ1Aqs9Cm nM0eqEQyvSX6linp3yVgi5FfP3+Q2jvMAu7DyIIRvcaHpT/FMrmcuycHu2XGq0xxPmr5 vHFw== X-Gm-Message-State: AOAM532YnPEwHo5QoMJvVerR9GL6vPVliJlo1BPi3imbt/TyqQhwNBkM t5yNhZvNMQ4vWLX9BYU69ADWZQ== X-Received: by 2002:a1c:7210:: with SMTP id n16mr5389110wmc.18.1621537275193; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:14 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Krzysztof Adamski , Anders Berg , linux-i2c@vger.kernel.org Subject: [PATCH 05/16] i2c: busses: i2c-axxia: Fix formatting issue in struct and demote unworthy kernel-doc headers Date: Thu, 20 May 2021 20:00:54 +0100 Message-Id: <20210520190105.3772683-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-axxia.c:135: warning: cannot understand function prototype: 'struct axxia_i2c_dev ' drivers/i2c/busses/i2c-axxia.c:172: warning: Function parameter or member 'ns' not described in 'ns_to_clk' drivers/i2c/busses/i2c-axxia.c:172: warning: Function parameter or member 'clk_mhz' not described in 'ns_to_clk' drivers/i2c/busses/i2c-axxia.c:271: warning: Function parameter or member 'idev' not described in 'axxia_i2c_empty_rx_fifo' drivers/i2c/busses/i2c-axxia.c:303: warning: Function parameter or member 'idev' not described in 'axxia_i2c_fill_tx_fifo' drivers/i2c/busses/i2c-axxia.c:150: warning: Function parameter or member 'slave' not described in 'axxia_i2c_dev' drivers/i2c/busses/i2c-axxia.c:150: warning: Function parameter or member 'irq' not described in 'axxia_i2c_dev' Cc: Krzysztof Adamski Cc: Anders Berg Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-axxia.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c index 5294b73beca85..946874e648547 100644 --- a/drivers/i2c/busses/i2c-axxia.c +++ b/drivers/i2c/busses/i2c-axxia.c @@ -117,8 +117,8 @@ #define SDA_SETUP_TIME 0x8c #define SDA_HOLD_TIME 0x90 -/** - * axxia_i2c_dev - I2C device context +/* + * struct axxia_i2c_dev - I2C device context * @base: pointer to register struct * @msg: pointer to current message * @msg_r: pointer to current read message (sequence transfer) @@ -165,7 +165,7 @@ static void i2c_int_enable(struct axxia_i2c_dev *idev, u32 mask) writel(int_en | mask, idev->base + MST_INT_ENABLE); } -/** +/* * ns_to_clk - Convert time (ns) to clock cycles for the given clock frequency. */ static u32 ns_to_clk(u64 ns, u32 clk_mhz) @@ -263,7 +263,7 @@ static int i2c_m_recv_len(const struct i2c_msg *msg) return (msg->flags & I2C_M_RECV_LEN) != 0; } -/** +/* * axxia_i2c_empty_rx_fifo - Fetch data from RX FIFO and update SMBus block * transfer length if this is the first byte of such a transfer. */ @@ -295,9 +295,8 @@ static int axxia_i2c_empty_rx_fifo(struct axxia_i2c_dev *idev) return 0; } -/** +/* * axxia_i2c_fill_tx_fifo - Fill TX FIFO from current message buffer. - * @return: Number of bytes left to transfer. */ static int axxia_i2c_fill_tx_fifo(struct axxia_i2c_dev *idev) { From patchwork Thu May 20 19:00:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443317 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253196jac; Thu, 20 May 2021 12:01:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/1+sFVWwWM7fFRl5M+XgloJww+cXhx2IMJEjSbV3JAwiMli29uHUao+DZvzWkSbPVNpiK X-Received: by 2002:aa7:dc17:: with SMTP id b23mr6456830edu.359.1621537301520; Thu, 20 May 2021 12:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537301; cv=none; d=google.com; s=arc-20160816; b=wzxTbzPpUOnEZTbOtAZfeuqdJ6pvb4MiUEQec1Zh0zXdNEMMmvstQO9oFwzRyzlV2E snaXhINo3cQPQO++AtYW70eIyh4KUiYzoHpeO2tEiLqxVE0rZGLl/f6XFZ3l2qb6sHPg byzf2xHMc+FOqGm8jlakIJJXBKbkE8Wz2WbK6RkIRYzwjEauVgqA9WWOlA2iuheihEpK BOBrcwPrAeJFwCUOR5RwXCcCj89Vnir7GNtjBIuYlq4XyJkKLkhQP+A8CVmaXyxWUDfP HAxbl6mpDX+OLNpelWqiL8RXqzrhHcRounD5/3VMbWbh1a/fjque4l90hKw3VLZrijdZ ewSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=d+Supy7KmEQ83hTeurSH+1rKDqsnDnmwRYZwGJPWBbaeCp0Nh9FhAfFha1j7RAGk+s UzjRaKX6ekqaql30sZy7231EzWZjMGDl0mq4fiTEPQDT6PoU5yEXnC33h+awmBHBgOYS ROB6WGHhJIJ6z8oeCFCWPEiru4nYtjq5vwVXCCpWq33fFCbH66REHVN84/aH9dLpEOfT vXAkjV3M7/SzBsN7boOIIpEe4BbRz9bgAiMwfQZpiUYwffR2ahrmlnVwB7MtZgmoB1pj d0T5aD1Qmf7aRCLNikuWVLF5Wb/pnD/LJxjW+kYe8ncgPXIFf84tM8bQNmRQh0dKALUH MgOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sO0DBvtC; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.41; Thu, 20 May 2021 12:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=sO0DBvtC; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237386AbhETTC5 (ORCPT + 2 others); Thu, 20 May 2021 15:02:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236842AbhETTCn (ORCPT ); Thu, 20 May 2021 15:02:43 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A34BC06138D for ; Thu, 20 May 2021 12:01:17 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id v12so18713492wrq.6 for ; Thu, 20 May 2021 12:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=sO0DBvtCCl2hnSdKrXaHKipuFZz41jcJw70JtL7AiHUAM17ZESebKeTO6+kZGQEmfz 2XmzTuKV4hbiN2a+rnM8V8mAefJiQKxM03Q5KBNjCdboQPmQgBkvJop/ZtqjCGyWOvao YBChqvo+vZFYcwKHu+csr5GRAp2PjTWxLxaAK4I6Qk8X+bnB4hVpG9EahBJIbtP/0Zem h9pI/yZhLAXAhJG+gIJRATpsD2uEW/CPnSYA+EAf9b9+qenE+8s2xjTt9bOumAV2vkrV XRfkterbGrOaU/6vp4jaXFjcBe4jy6Ifb+tc6XWBNPpIuuJk+aREH+fvuwm+52KjVX1W IfPQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIVNEWSC2Jsb3xDrgcxFucT3yo9qXnMbQ7RXe/nUmB8=; b=HHoEsIvram0L3lPt0TX2peeRGT5CVRIRHEpYmISO5RjExz/ObisR5IHUw7AVh8hJgb d0sNiIc7KoAF4KKX/m4kHxJf/HjD2PDpGEwW78ThrHJLG8NqDNKr/0xpVXM2jRchrO/p yr/8hmxemeHRG0Zj7dOJWvpqOFINqJvOtekcFExRAmEyN+KBhLj8p+1AFBXszdhdYPbw DAOwEHhbZwN+V6gEx+uBfH7822eR+46gwjfKH5Pg1IYYewUHnriAHrXdMuFO1X1o47yF cURfA+CkU2qS2CbAiLCOBd5q9+kYoPvJgtADt+ciN6H9eBLaVLJd6YksQRvXxHRs83Yc 4BOg== X-Gm-Message-State: AOAM531wrDQ3Nh8mki74jHU7y0mQvcz1WrTnMFo8JXDK/Cg+fsQxDvMR JSalesIW9F/jyeKEWx8zk1diDg== X-Received: by 2002:adf:e589:: with SMTP id l9mr5898739wrm.361.1621537275970; Thu, 20 May 2021 12:01:15 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:15 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 06/16] i2c: busses: i2c-cadence: Fix incorrectly documented 'enum cdns_i2c_slave_mode' Date: Thu, 20 May 2021 20:00:55 +0100 Message-Id: <20210520190105.3772683-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-cadence.c:157: warning: expecting prototype for enum cdns_i2c_slave_mode. Prototype was for enum cdns_i2c_slave_state instead Cc: Michal Simek Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Michal Simek diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index c1bbc4caeb5c9..66aafa7d11234 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -144,7 +144,7 @@ enum cdns_i2c_mode { }; /** - * enum cdns_i2c_slave_mode - Slave state when I2C is operating in slave mode + * enum cdns_i2c_slave_state - Slave state when I2C is operating in slave mode * * @CDNS_I2C_SLAVE_STATE_IDLE: I2C slave idle * @CDNS_I2C_SLAVE_STATE_SEND: I2C slave sending data to master From patchwork Thu May 20 19:00:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443314 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp252934jac; Thu, 20 May 2021 12:01:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsXdfkrOTwL59qCP40TttNq3srw7mJp5wEmfZluR74ehKGCRcUAsba99qkvgxqoLbc3h94 X-Received: by 2002:a05:6402:3585:: with SMTP id y5mr4241462edc.121.1621537284201; Thu, 20 May 2021 12:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537284; cv=none; d=google.com; s=arc-20160816; b=OMPrT7Bx0B/SDXTURyUXQPbNS40mrH+Mu2NlTWJ6iTeUdqzroAU/XR6KYBCY0SS1jF yFetEb6ocprro99gJNHc2zx+tEvvpi4rn2mMSmYvE4nJA6Yrjq/rkqIoviJtT0i+A4+c hzw9RwHt+yR7O5J+ElhFnhKk/8JS31cvCU6E5MauM982MhTcltbMViatKEk4nQNn8ZUv n2fQTX8TEjwT6qtGzfgXkJksl4yGaiGmPGuhxl2Q6tzT2idHjTIYfc0JH4+6ssPP+wWP HafopTXjy2VXBKT59k3D5CDKsuk0ZcR5NNPrg8rOugENebMbpakmqTwOXvAcygE1AGby 3QlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RpVbhWafhDfAhCBqKM1v2zsP0hh2DjzU2Yg5LH3hLkg=; b=TijpufDwFjh742QfcWqVyrlwmvwLkw2skIz2auv2/bVQjs4wuSfDNS7tQw71D8SXlb +827LpnWXlIf38Qvm2UQE2mqzXqzqSn44ujqOdmA6AUrguGZj0DxVZc5dLcHHQEOsCf9 UGN1LpldfHkGlUpJR+sJkAIv+o9dq9gUDjxA+yrd2GNrxbnF3is4Zv3EycrFIZdO6z/m +i88Zb2Ozb4YxbtUlxutgZuZoXAvHh8SK7JCzYIrgt6yBS39Xv54ZGBWImnMNi69bPYE KoyC4D5b+BK9BY3wQexdFZvxxuq5v1Cbee5AhgsWihpJYU+W1aXvNSDmKctaZxmJAPR1 C/Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EZ0KsGWz; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lx17si3107026ejb.61.2021.05.20.12.01.24; Thu, 20 May 2021 12:01:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=EZ0KsGWz; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236739AbhETTCm (ORCPT + 2 others); Thu, 20 May 2021 15:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236547AbhETTCk (ORCPT ); Thu, 20 May 2021 15:02:40 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 790F4C0613CE for ; Thu, 20 May 2021 12:01:18 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id v12so18713534wrq.6 for ; Thu, 20 May 2021 12:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RpVbhWafhDfAhCBqKM1v2zsP0hh2DjzU2Yg5LH3hLkg=; b=EZ0KsGWzQne4hs45uN8L/lFUVZJXduGFoITKRcLGwS2wfTgEtl9xBhTOTGQsY56cVa x7yqQqbgirbIBCeNZNHN1sewRjW/xbI6A7yXxNe9x6cAPSl+514n6NtoFgqo2iqv69tz vj2QnLAGXcc3hZ3NjMsNDHlvh5VgWUnGGXbaq/kofUfNMABokBTg2jNAUVIM8oLwpT5L K/vSWSTBx+j/i2y9Fsno0C1l3TK16v2Wm/poO5OnQ1Lx9JmBbt0g4zZ5bTjyN4eTvnWp T/xKqNYVj6U3bPHI8e28PkYav8wZ4GFCBpfptsVYCuNH9NxwAyHBaSzWNpzay9IcL5na ymHg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=RpVbhWafhDfAhCBqKM1v2zsP0hh2DjzU2Yg5LH3hLkg=; b=Ij5qy9oATD26SeMHhdjQQwbFmpH910Ikksp13AOg2urQtT01Fb1WQn/ipSMAbqDs+I FacjF65k2aZlLh4b5u3/9Nlu14xdrgGUlQZGo8KPZYGi6+NZt/gK99DsDtASN7myNv75 K+sZJw7cmcJrbVOKiZA607K8yycUSqsyqWbOuUzBG7a/qZpxpZrx9xjsJJilxXLVkCXw z6ANSbqkt0fe1HrlCPK0mH6Z3FqEkZmK+qDal3/Y9rB9pYJhMVRLiYJkGX+fHyT8zG7k YgBL3bg0ZhIRmnUl4JTyykn+fu0O+VwAwX3UTNSyRy6WSvg9VxkvcF6/CW/EGxcNXd/G S+xw== X-Gm-Message-State: AOAM533strhyFuaUUsOYZozZijpvqG+8P85oznXJpuKqZVLe6Lb97bS5 Jybmc/qz4jPFyJEvFRpiU1XknuVirKIpZI2t X-Received: by 2002:adf:ebc4:: with SMTP id v4mr5616703wrn.217.1621537277066; Thu, 20 May 2021 12:01:17 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:16 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jarkko Nikula , Andy Shevchenko , Mika Westerberg , Philipp Zabel , linux-i2c@vger.kernel.org Subject: [PATCH 07/16] i2c: busses: i2c-designware-master: Fix misnaming of 'i2c_dw_init_master()' Date: Thu, 20 May 2021 20:00:56 +0100 Message-Id: <20210520190105.3772683-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-designware-master.c:176: warning: expecting prototype for i2c_dw_init(). Prototype was for i2c_dw_init_master() instead Cc: Jarkko Nikula Cc: Andy Shevchenko Cc: Mika Westerberg Cc: Philipp Zabel Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-designware-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Acked-by: Jarkko Nikula diff --git a/drivers/i2c/busses/i2c-designware-master.c b/drivers/i2c/busses/i2c-designware-master.c index 13be1d678c399..9b08bb5df38d2 100644 --- a/drivers/i2c/busses/i2c-designware-master.c +++ b/drivers/i2c/busses/i2c-designware-master.c @@ -165,7 +165,7 @@ static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) } /** - * i2c_dw_init() - Initialize the designware I2C master hardware + * i2c_dw_init_master() - Initialize the designware I2C master hardware * @dev: device private data * * This functions configures and enables the I2C master. From patchwork Thu May 20 19:00:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443315 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253036jac; Thu, 20 May 2021 12:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNmQQlCbDa9eSM4rdeFJSu1pw8tC8hyQcfztni70SP5A5Fakjb6EaAAoMSBwUvHOgkX6Ew X-Received: by 2002:a50:ff08:: with SMTP id a8mr6378510edu.46.1621537292658; Thu, 20 May 2021 12:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537292; cv=none; d=google.com; s=arc-20160816; b=hQG04jtnHiKYz4dUKw3Wb3ZpPVlGanTKARjac4+a6CPjJvCt36sx/wi9R2qeN0F5kC kgERvmF3G9wy2BYbF2roO6YabprVb0RU9K4usn5g2tBiHdYIWju9BAbkWzVqVolDwG8a EdF0JuZF4/Z9qVfQV3le3hAXz5FWFlDxI3Aew4IvnzI/TGuU1OKq6xJ5i6gKE4DBG+pi 7qHvbCFdi+7XITu1Dl/a60dWED/4xELIEAJCi9NiZCzc3QjhNlyiczAdlfnkUVJgeX7T mgp14XhJ8dEoP2w2HmHcLWLOr/mA9emRPqC36iw29bc36qYXigPs9P9wOGHjSKHpkt26 iQHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=WxXUvNN8Q1NXiLQMeigked88N1JgOXik0Qsraesbs1gUB/AiFXIS/wZKuzpBHb3mUc riJ9Hxip2w0kQXJonpHCcz9jEIiqza9hFmYXmfvc+dFjUrtkfoXvfIr8ieOdq5xADysx 45rpKoRx5Ei3gmAyR8ldzTbQN+zlMPj6ibv/leY3FGddfhZfDtDzZXhgI5J/GbBFLukV yhb8f7BuMuBSDn7ocXPv/ix/Pwa/04GGUbbHFkfo6M5kMBibsJUpFQwHG7GFenb9/sv2 p4Dqkjin+bgoIAPz0UhmnEGp06DXgzU1CJki5b7jFc8zilLen8dTez1jmMZfkRE52zQm xZOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fJjWAxmp; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp35si4084798ejc.361.2021.05.20.12.01.32; Thu, 20 May 2021 12:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=fJjWAxmp; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237257AbhETTCs (ORCPT + 2 others); Thu, 20 May 2021 15:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236775AbhETTCm (ORCPT ); Thu, 20 May 2021 15:02:42 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F20EBC061574 for ; Thu, 20 May 2021 12:01:19 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id n2so18797597wrm.0 for ; Thu, 20 May 2021 12:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=fJjWAxmp5AzE7WH5LUpXOh0nYHestzcUBTRqFX99818kVDBaG5rBhoR7oPfnpA1e19 aU1ebFxUxUdOR0QZ48gKVCdNeivmC4RgpVSFyy7QSe+HLjr2m+/AojVrlqHS0HD7GiOx dHZW4OfY7ZBekCn6UcogEh5psuDPj3vyHmdSiCh/b0yA7UTAroYxBPkB51G7Es9JtVsK jr7NIgLKuEcVkFEf+iO+pNM3d7eb1SDXNZBPPEKr0ho5i3oWbjMgo9RN7kCNTdAcMXg3 2yBIi0d0K5hLYrdjRc6hFDs4uRewsKbq0E6sBCuBSoKHaELcHbSyP8IpgP1mcJMpRiVU vq2Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=oNjejVpj//csxdxxuygy5G0SUVNe+YgLQS/oQ4GyGJw1qwV+Z01+7X5k7KTe8Ggftw XtjaIVzGZDwUbNeEM44rJndgczUD1nUE+y3cbbTb/SVmwaarWDj4gt2RPSiDmUv3PTLF 09wzA0EKREHvq/bRzdBCHlOqkoDnyGJpVLpoXvYOxQI649DullYP2Upug+RIj3Jaclxs HmV1ypA0kA0I7grFUVEV4vE1SxDrM84Uq7V+3CeDfsFp1y2EsYQqThgTDrZAMMJZZ3dg 4QtYx05BMhkjTCUVBOQuaFkUMHK+Xduahmcm59oPseUYwii5tE9/m1Z9t65YpAbF/0X5 yBdQ== X-Gm-Message-State: AOAM533sCMRczJXqAqBruHfLPQ/2aeVE/nsiuTMTA2VjePyx+Q7fGgwm lCmLWY4CRIiaYY6UcCiaJSOnpfHO1oD92z2f X-Received: by 2002:adf:ee0c:: with SMTP id y12mr5802664wrn.335.1621537278557; Thu, 20 May 2021 12:01:18 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:18 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Wolfram Sang , Vaibhav Gupta , Tomoya MORINAGA , linux-i2c@vger.kernel.org Subject: [PATCH 08/16] i2c: busses: i2c-eg20t: Fix 'bad line' issue and provide description for 'msgs' param Date: Thu, 20 May 2021 20:00:57 +0100 Message-Id: <20210520190105.3772683-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-eg20t.c:151: warning: bad line: PCH i2c controller drivers/i2c/busses/i2c-eg20t.c:369: warning: Function parameter or member 'msgs' not described in 'pch_i2c_writebytes' Cc: Wolfram Sang Cc: Vaibhav Gupta Cc: Tomoya MORINAGA Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-eg20t.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c index 843b31a0f752b..321b2770feabc 100644 --- a/drivers/i2c/busses/i2c-eg20t.c +++ b/drivers/i2c/busses/i2c-eg20t.c @@ -148,7 +148,7 @@ struct i2c_algo_pch_data { /** * struct adapter_info - This structure holds the adapter information for the - PCH i2c controller + * PCH i2c controller * @pch_data: stores a list of i2c_algo_pch_data * @pch_i2c_suspended: specifies whether the system is suspended or not * perhaps with more lines and words. @@ -358,6 +358,7 @@ static void pch_i2c_repstart(struct i2c_algo_pch_data *adap) /** * pch_i2c_writebytes() - write data to I2C bus in normal mode * @i2c_adap: Pointer to the struct i2c_adapter. + * @msgs: Pointer to the i2c message structure. * @last: specifies whether last message or not. * In the case of compound mode it will be 1 for last message, * otherwise 0. From patchwork Thu May 20 19:00:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443316 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253047jac; Thu, 20 May 2021 12:01:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5SjAUdk7VaQkGp+Woh8vX81dpFdhQnBrudl6cY+EeiFm/nmTYLiZywgG042Qv0/UdV6qo X-Received: by 2002:aa7:cb90:: with SMTP id r16mr6558405edt.247.1621537293632; Thu, 20 May 2021 12:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537293; cv=none; d=google.com; s=arc-20160816; b=Wtlb1dDb7+f5GlaWPt2odi1JyV0zhHbBJZhf5RMDXAhAUxFPZ5W/bPt3jdb25EpuFo 8s3DptWtSGeFgo9fXYlu/niJ7oOwgztBwtdNeoJLxPzxhPlXmECjxvbJUUkKgawdPeGm hidHqB1ULMUzT2QwVtYf+R9mlAkCdV4F4u0JTif7JOe19+I7GqXnUlKHkAbFLJRKqymq hCv3aWWA6gR1kM6WeTtFepG8XmaKe1TPThQdNpm17gmbPWiwd6LnciyaV++tXKxLH2PJ BFmd7Gkd+xh1qnpLT4AU6n9qXejCXpmb0Q984fFs+NXs1kSF/tPYDxOdsR5BrpcZeiXZ Gf9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=QpgTRhGNMR49iH9LKUwfANOvi6YZ/kedWtmjw/w3N+v9s/pRwsBhEQscP2brD4HQIC 78UN+TODaW7wOqp0ykgtEiz516ODzeIULrKbVTsGfcAd9Rz3n/2oTO+fn1T7Tnx3XHqX c/OFuImgHzua6Oayrw4rqtc0IdzhdCGnWSJ6GDSTVd32tA9q0sE7/xBQWtWs+JO1tzpH 9z4Z6Jt2dS/U2aKDKcP4qv0heqRgnl2F8h1foH8Uk13lCgCIvy2iB0dX5yvW0T69BJ2C k1bLQ8boGM7alP9aCpyCHICiIrH0zX9nLyB9T4lDUMOscsePctcjYPXmEdFcx0jXqviT nJVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K970SYTq; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp35si4084798ejc.361.2021.05.20.12.01.33; Thu, 20 May 2021 12:01:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=K970SYTq; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236590AbhETTCt (ORCPT + 2 others); Thu, 20 May 2021 15:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236814AbhETTCm (ORCPT ); Thu, 20 May 2021 15:02:42 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8B7EC061763 for ; Thu, 20 May 2021 12:01:20 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id h4so18680858wrt.12 for ; Thu, 20 May 2021 12:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=K970SYTqN8gULsm5HfoOieuvIDgrrm3n7CEDU2099SAFSAo7d709BIDDecLpOiecca bZROptfK6xiqhDFE+AO87zanxVe5HbR0SC5ObyMb4UZMiKMpfiYlJHffPshEvJgeA+UN V3XG2xCMAY2HTd6MtOFC16ArFARtEWzBocO+cq+CwiAOU6CTEJs7rBuAFIyihY62CbjH 4GRmjZudOmwIQlDL9LvdAis8UI15SzfhgiqM4giwkY+R0L5j/YzK6biBQRaHmV7XUPbc v1TzOIhh4JLz8HV4xmdmBClHHOHwjha1vcMTaeTfrBjxJ31sZoVXCFtmQ5bC7/JQyJxd Bm0g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=m3jb6hnBmFjxzdvzWu+uBOUpuYnuQHaJ3s27d7EHAaY=; b=aSvm4VTfpkvmKio6ywBKFi6MKOJ4f6wJLuzS3exOXjCZR0lj//jpVVeDp+Ir8CIW3G GAX9v/2fXiiINvlLAYBjzdfhNWwPNuEJhMPqAFOfgzL1wtTH3/T6xSnrD7I78PoVWV2v aVrDlPE1e68BiSi0qAAZmUJJ2fBLJE8wrOg/yaRw2caeI8URwjtAVArx/L4LnN3xliEn nCS+6xoKpeHzRJoc9E2iJz65L8uZCiYhXxz7zoitu6zhyZq38va3l4RIvrsnhJx8FJsY cPkxNPqVpcxOGR0chNX2TXg8Mlr8zyNDO5hmOsku6sMFum8f44bFdHmOrxuqk2o51ZFX KrbA== X-Gm-Message-State: AOAM533dtHzAIhv92AKKjlGtZQgRvd1AzGmKQEr3IgCZQanx0qANLn3D +jLzzDNubU/9mxeHl04SPjmIKw== X-Received: by 2002:a5d:62c7:: with SMTP id o7mr5699770wrv.372.1621537279564; Thu, 20 May 2021 12:01:19 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:19 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Wolfram Sang , Marek Vasut , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/16] i2c: busses: i2c-mxs: Demote barely half complete kernel-doc header Date: Thu, 20 May 2021 20:00:58 +0100 Message-Id: <20210520190105.3772683-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing0' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing1' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'timing2' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'dmach' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'pio_data' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'addr_data' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'sg_io' not described in 'mxs_i2c_dev' drivers/i2c/busses/i2c-mxs.c:131: warning: Function parameter or member 'dma_read' not described in 'mxs_i2c_dev' Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: Wolfram Sang Cc: Marek Vasut Cc: linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index f97243f022311..bcfe48e17072c 100644 --- a/drivers/i2c/busses/i2c-mxs.c +++ b/drivers/i2c/busses/i2c-mxs.c @@ -100,7 +100,7 @@ enum mxs_i2c_devtype { MXS_I2C_V2, }; -/** +/* * struct mxs_i2c_dev - per device, private MXS-I2C data * * @dev: driver model device node From patchwork Thu May 20 19:00:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443318 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253204jac; Thu, 20 May 2021 12:01:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1fASXMM2egONs1UW7mln7D5XUpl1MvrEVZge0tYbrPtCVVs2CFzwtPKgAOPuFKcm/DXAO X-Received: by 2002:a17:906:5388:: with SMTP id g8mr6355051ejo.413.1621537301994; Thu, 20 May 2021 12:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537301; cv=none; d=google.com; s=arc-20160816; b=kq07oVbWgz3GyXMkg28ydU7Qa4Z+oZSXUcrROvrICG1Alpv2sfp0qaR/SMfEQaVL63 41rdl7fb2/0/JpUaFqw0ImpKe694XN9W/FQH0JSZugi4XLepy/o+tf5HSXKJZmyVXbbM +8hRtcNFiAYnge1VBJBG66xYgUw+L6Nz85TB1dcMXYOl8DjJsLcZomUAm1LL7Hjeow7X HamGbzvEoo/ZsjkelCazlpgiZliU4nIHUy9DYfDJHB90T34BPEfSrNr6QQGRrh6aR5v7 7DQdAJWoFhUtTzvk1TniYptk3vh2HVGGo3d1VuAJ8scjl6EIVV6k1Agy8m33A2bZ3cY8 NgKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SBAKKQalOJHvEKpRKihiee3lgyfHDvw81EwoK2O6KMU=; b=Rfz/J21xGF1BwtU3ltEfFk/joC2w455Q/+0r3d66FEnUmR4tDTidivc7F+DgKH78W5 sFEIW8nZXLD9RdK7INN5mgCEeoia5Np4Gj0ROBXwoplIAXVN5iRcF5gVTTPIZHfHMX4i VEGwvUWzQMYsbw5Br9QHGQVjZ/xpeoI9b+nXmOoUlBXjM3MOw9J0QziwPWpTLNNQKUpU cFuiG3eQ0kYb2Sfij94BxL4CKJgyNKp6tL/YFHSDBt2Upf6I/+9RONWMexpPK5Uu5otc FNJfOkYEehPTbC6rHJM37GewyANZgFvK0EF43i60G2v4S0BhIfvvw8ovq6/FUu65uxI4 mfCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TOvjUnEx; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.41; Thu, 20 May 2021 12:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=TOvjUnEx; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237398AbhETTC6 (ORCPT + 2 others); Thu, 20 May 2021 15:02:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236877AbhETTCo (ORCPT ); Thu, 20 May 2021 15:02:44 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0750CC0613ED for ; Thu, 20 May 2021 12:01:22 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id y14so16635780wrm.13 for ; Thu, 20 May 2021 12:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SBAKKQalOJHvEKpRKihiee3lgyfHDvw81EwoK2O6KMU=; b=TOvjUnExrJkfS1a45A6elsHA3Nl0rygE9dkkcvcFh7uIdhijihhEW8zz9F8JQcWqPR kvAVumtrWHiDB8TqE6unzMoO12ejgb5og9J8YLybBHJUDy7sgnIqJZsImgJEdH6I48kT +WLUmf3bQC8ISrYcCGnO25lOmgOJ60bVSo5aJu8sYffcdHdFmBWxtXJEJ/JCU8d1DzIn et09Sl6fYThOAIVhfqyZBsDepD2VA+Nxy9HMXXamTsLFUElmIWlTUeGR8jdX5M1AUC8y /h/c74ZlUYgJQRJl3cEgJr7yikN8q8eMcnajBiKVQvUpvC2lPlxt7tNsxJpNaRDpzCBD xh6A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=SBAKKQalOJHvEKpRKihiee3lgyfHDvw81EwoK2O6KMU=; b=Wmv2qPKAo2FSHyEYSURC7SnyCZy6p+ieCVcEU7cL4IzKvAVO4jfZNMaeSbfMRltx2G IWDxmoRKGdE3fJLRBebtXuZqd1+DyauNNp5oPzMKs3ozTKlCAkoROHs/hsKoxts/tMXd 92e4SaSRHCeM3jMY5lRAhGGlaVYmGrc61vg9KFkVSXGEOTEt3o7Y5lMZIV3DI7qLM7LR XkbTjAtOTVDmIj5iL2Vn47ket7JInMas7Ek8+b1zZegS7b2gQezQHR6Gw8Mvjes9Dmoi sB3OecoI8rEozr3txA2I2CqZM3xV3KlqVpS9juCyPA66vbocxvdyYXw6MbDZ73M9L9ls bX0g== X-Gm-Message-State: AOAM533BQF13QfKVWh6fGYSZyzD5Ip1/J+jQOK3RXYj2yYsB4CZzgwXW QU7zoNPz7OMhfRrZwfacIFqalg== X-Received: by 2002:a5d:4046:: with SMTP id w6mr5792880wrp.15.1621537280605; Thu, 20 May 2021 12:01:20 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:20 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Peter Korsgaard , Andrew Lunn , Palmer Dabbelt , Paul Walmsley , Andreas Larsson , linux-i2c@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 10/16] i2c: busses: i2c-ocores: Place the expected function names into the documentation headers Date: Thu, 20 May 2021 20:00:59 +0100 Message-Id: <20210520190105.3772683-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-ocores.c:253: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-ocores.c:267: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-ocores.c:299: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-ocores.c:347: warning: expecting prototype for It handles an IRQ(). Prototype was for ocores_process_polling() instead Cc: Peter Korsgaard Cc: Andrew Lunn Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: Andreas Larsson Cc: linux-i2c@vger.kernel.org Cc: linux-riscv@lists.infradead.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-ocores.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.31.1 Reviewed-by: Andrew Lunn Reviewed-by: Peter Korsgaard diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 273222e38056e..a0af027db04c1 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -250,7 +250,7 @@ static irqreturn_t ocores_isr(int irq, void *dev_id) } /** - * Process timeout event + * ocores_process_timeout() - Process timeout event * @i2c: ocores I2C device instance */ static void ocores_process_timeout(struct ocores_i2c *i2c) @@ -264,7 +264,7 @@ static void ocores_process_timeout(struct ocores_i2c *i2c) } /** - * Wait until something change in a given register + * ocores_wait() - Wait until something change in a given register * @i2c: ocores I2C device instance * @reg: register to query * @mask: bitmask to apply on register value @@ -296,7 +296,7 @@ static int ocores_wait(struct ocores_i2c *i2c, } /** - * Wait until is possible to process some data + * ocores_poll_wait() - Wait until is possible to process some data * @i2c: ocores I2C device instance * * Used when the device is in polling mode (interrupts disabled). @@ -334,7 +334,7 @@ static int ocores_poll_wait(struct ocores_i2c *i2c) } /** - * It handles an IRQ-less transfer + * ocores_process_polling() - It handles an IRQ-less transfer * @i2c: ocores I2C device instance * * Even if IRQ are disabled, the I2C OpenCore IP behavior is exactly the same From patchwork Thu May 20 19:01:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443319 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253213jac; Thu, 20 May 2021 12:01:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwV3G2aG6ofjiwQ2mts0EaG7X/X49/J94X9wq/XSANLNSSEQVrb/clzenzSgL0SrlOJIV2E X-Received: by 2002:a17:906:6b96:: with SMTP id l22mr6048665ejr.456.1621537302453; Thu, 20 May 2021 12:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537302; cv=none; d=google.com; s=arc-20160816; b=pIPqgvU0vdkZPytwX39+ZgjGRFwCw5p+U9GVqUY41EBRjGG0277svx21X5FyG0JJ7s S4v45/W+0EiXYlNuohAqC7KfQzfTlBtgnJF7d32MqFvz4HKTa80n6THzXJJbdi5qwGcY rRyGvAU/VWKdQo1+K9YdwUriLmmOZI/5HRpOkIPiUQX8gcoLlZlls1TrQ/ZvMsADCV7Q cvp3h50j3UWM2j3k86wilm3rIPm7Rcys7ZB7nE+tuU9mYjiPIdLNRtlyzlbhZWvaMEX+ hksK3rmOfsLlifQwkkhs89A5UXTt9w2pJH43Cu7PTWqunBReDr28lwnp8wVqFjcRMEm6 F99g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=ICfUUUswef4QpmEm5P5Um+QQLiVRJueCIj1Ktj9CB7VUY/OSFsnKYrOoyTo985S/c4 9Ol9PgG4SBNow1RHen5p74ALPYm1bsN9EYu3/y/XEPSViOjsuGtWUtHN51hNOlumGMqx 3uA0BK4zCSUiwrSakeRLGflpPChTwqV8tFg2h6dVBOllBehV9DH6jPIbYupQx7TrWxP2 1xrkG3CA8yxtyt5I45Z4Tsswf152C0dYjqpovpT+qm8Ev9YaFL7df7YOoSYi6RMFNOWH CnSwVrf/xO2vVOaVh7mkflnvBGuwc9jve3oxV7dhz8Ov63sBrJe8pEPSTWP5lfxtdbPA QxDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cweL21sT; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.42; Thu, 20 May 2021 12:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=cweL21sT; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237460AbhETTC7 (ORCPT + 2 others); Thu, 20 May 2021 15:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236896AbhETTCp (ORCPT ); Thu, 20 May 2021 15:02:45 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4205DC06138B for ; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so6023270wmf.5 for ; Thu, 20 May 2021 12:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=cweL21sTrIdENzyBjbborhA49uE2ipRCdgcwxowe9KOMrycs2dDLqF52GV+t90hRys IoJFqt7C4RAHRco24xXERn5nErc3/2rKcViylH/knoA36dFnenR8Yk7fa5K9LJyvLZPG +zl0Yye1+p0am3ozSkKClsbDZf9FATUp7VcvtMudJNq8zxdrja1ue5QMFoy/JoPG/L4P 5aCGsvvB4nM4CnJW5XwcOSMmKGRBlEzvrmFh9w0X07ywQuRY/fgrrbVmThddpI9T84rp C9x0JnIxFl5iAxMV6ozehCNRcPzX2mZWaRDgXhXham+/jdMdcWRa6PhjlnmEq4xSt1DT 134A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=zNl0TWlb/d8Kz2EbzgNPnXTHheMEm6iTFjb4mkLXVgg=; b=sbfmTLiyyhipqQTnblykeB8vNT6ZkuaU6AIIgavBU2o9fUxVecLvBJFZNvsPwq6YQ4 BD3wmpYYvjynxtD5Y22G0jKdjlcCLLfIvlVfjB9mjSXIzxCoud0HTB5tIbbSA5npz8EU yRS0EDoI3ArHrjPhMjjM+mFbEzdpabXVItbE+QH6xjMKzkRAPpOsVhwzR1IeMVHeBRuo gkeRUgzL+qpCKI5Buy3dP1KRYOTE6o14ESn1lQFZttlBDEaQuJgHT5yfa+oXednUL/Fw 4zLpex27vgxZiL0/gN6awtzfs5BtLnPxNuN6Qac7VwWKZW1WhpHxQM2Ub3b0uK+93HIB 1iZA== X-Gm-Message-State: AOAM532K0iROvtAsAmZdumjoOiXNq8h6mvZxZNgOJbJkNxb0vPujMKYI BTSCztAxscW9wYWgYHS84vuAnQ== X-Received: by 2002:a05:600c:ad9:: with SMTP id c25mr4876956wmr.56.1621537281856; Thu, 20 May 2021 12:01:21 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:21 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vladimir Zapolskiy , Dennis Kovalev , Vitaly Wool , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Date: Thu, 20 May 2021 20:01:00 +0100 Message-Id: <20210520190105.3772683-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-pnx.c:147: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:147: warning: Excess function parameter 'adap' description in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:202: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:202: warning: Excess function parameter 'adap' description in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:231: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:231: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:301: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_rcv' drivers/i2c/busses/i2c-pnx.c:301: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_rcv' Cc: Vladimir Zapolskiy Cc: Dennis Kovalev Cc: Vitaly Wool Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-pnx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.31.1 Acked-by: Vladimir Zapolskiy diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 8c4ec7f13f5ab..50f21cdbe90d3 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -138,7 +138,7 @@ static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_start - start a device * @slave_addr: slave address - * @adap: pointer to adapter structure + * @alg_data: pointer to local driver data structure * * Generate a START signal in the desired mode. */ @@ -194,7 +194,7 @@ static int i2c_pnx_start(unsigned char slave_addr, /** * i2c_pnx_stop - stop a device - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Generate a STOP signal to terminate the master transaction. */ @@ -223,7 +223,7 @@ static void i2c_pnx_stop(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_xmit - transmit data to slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Sends one byte of data to the slave */ @@ -293,7 +293,7 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_rcv - receive data from slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Reads one byte data from the slave */ From patchwork Thu May 20 19:01:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443320 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253272jac; Thu, 20 May 2021 12:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzI9Fngg0iTfHQgBVfze2RbjMLDLEpCOGoTlrNbrDEInmSx6BDnLD1iVrtNIYOlMxBT48f3 X-Received: by 2002:aa7:cdd6:: with SMTP id h22mr6481074edw.278.1621537305030; Thu, 20 May 2021 12:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537305; cv=none; d=google.com; s=arc-20160816; b=buOITAwtFGnrHuc2DNcdklAnlcJJ4YHsK+cNs944gl5tGMN0+0jUvS3hhzNvXgfbV6 RKFbNcGKHFp7AMc7KWjdbfNPmAhCrfkzO6djnz9HkCwiHT1wrfQO0Iq6u1EtN0EWW3bP Su326cMkZy6TvKpwGjhrxlwJ7ovlue9iMPov1yLhlZl3m8qGy+BxqHPutpsBei5yFJwS d8GwiLpdnMN8rJ+dH+zerTuv7zICSaqVLbS50M/BJoUZoJm8duwfSHAuvyPCr16N9wJb VtQhqGklqaXyr1HVo7d6FMi+KQjYu2h002faCmvMBxcxDrL+fC4/o5s+b5jU65Z5dIeU j94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=tnMZuAe3/M+TNMkSx2fCsMfvEqiWJ2rFYn0+VXaujgnW+PbAnRRqDZC2+oKtvDFwTc 80+0kYR4ZO9yiCfBPegQblO/Rzum1NtpWZWDxOaSQRGQaNz8hJhdbHq73v4q1JMMIV5g V/ngThiQtVElbIqYtAVnd5PMC10/T2Ir43pE2fN7zO92p0tZyTPjIvDKxYUFpMZm69Ks Gp2EGYSArrhW+N4Kg4U5UlifZ8236IeOVQ1gak9RB8m/pjW3n33Bt5XMv5AXkld3nSwu ozQ4jnexsbCKqbIgDMmHyShatuEH9AAWYzrFY8K05/VMPRvbN+QqTa7Y1SS82MN9ZQVI W6qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wbPg+IuS; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.44; Thu, 20 May 2021 12:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=wbPg+IuS; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237072AbhETTDC (ORCPT + 2 others); Thu, 20 May 2021 15:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236519AbhETTCs (ORCPT ); Thu, 20 May 2021 15:02:48 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFCB2C061344 for ; Thu, 20 May 2021 12:01:24 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id h3-20020a05600c3503b0290176f13c7715so5836281wmq.5 for ; Thu, 20 May 2021 12:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=wbPg+IuSfX0setQllon8nmJmPS/4cMhSLYh+OMtByDo5xn7lI8FHKHdoVNbV/LGIrP ER51hBIw9kz45SxLR+H4payGvH5vH3Xe2a1B1+JjDCJmCFgUw+a+aBLOG/F4h35D9Mh+ lrLdT+ouYR2uAXXht4QXwLI0Vy1CSdH9ZXkxId5A68ASNvuRvGvO+d3PbD8Hfih/eq/1 tlFN2dojL9JyyElWP7Ks/N2j2uJe5zaBYsnOJjZGIlBLbwAKGrzlX4Zv5bUpiwLXv4Lm Zhh9rw24DY3J90i4yH04shJ2WWIroytFFauUUHB91/Ib9LM7kHT76rgqfKPHuRgV7t7j K33g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=BZ7o0VkeJdaRCEBQCoylzsFR/PU7XD67806SChIDBfA=; b=AX2O8WZ9KXzAOJw2fzYi9AT19mv7CDlxpTiYXSH3Trl0CgRBCMyTwL1rjmMwTjqMNA ia7Zar4qtoJN+o7ehDHA8o7uQbQJ3w4ABbXXBZDC0yfFPI/lkNpCSdO1Tk7mHg8s7A54 +Mn3pjYFPWHu3vW4p8Z+3O+r9kuUAs/RiPwx2Gw7UHnzdayDWH1gkPnUdWLDfW/CP/xm H7PMqrsvMXO7Whc0u4TyMTO0fBbxe0JyjFxaQQECP2u4PF27f7VKqaOb2sBf8SqgOKyE R1C5b2+5ldkz674KC5437xfbe5Jj3B5W17hHpKN/4IWofSFr0ftm2rt6T5XeGZqp0mWc j54w== X-Gm-Message-State: AOAM530ZaTPQGqqevltXjQz7g/7QsKxlTBVj+5eVQMgUbJRs9uZx98AW FkK7le+uU7LjGuMqC7Zc0MOhvw== X-Received: by 2002:a05:600c:2312:: with SMTP id 18mr5660601wmo.0.1621537283254; Thu, 20 May 2021 12:01:23 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:22 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Heiko Stuebner , Max Schwarz , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 12/16] i2c: busses: i2c-rk3x: Demote unworthy headers and help more complete ones Date: Thu, 20 May 2021 20:01:01 +0100 Message-Id: <20210520190105.3772683-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-rk3x.c:242: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:261: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:304: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_prepare_read' drivers/i2c/busses/i2c-rk3x.c:304: warning: expecting prototype for Setup a read according to i2c(). Prototype was for rk3x_i2c_prepare_read() instead drivers/i2c/busses/i2c-rk3x.c:335: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_fill_transmit_buf' drivers/i2c/busses/i2c-rk3x.c:335: warning: expecting prototype for Fill the transmit buffer with data from i2c(). Prototype was for rk3x_i2c_fill_transmit_buf() instead drivers/i2c/busses/i2c-rk3x.c:535: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:552: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:713: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:963: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/i2c/busses/i2c-rk3x.c:973: warning: Function parameter or member 'i2c' not described in 'rk3x_i2c_setup' Cc: Heiko Stuebner Cc: Max Schwarz Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-rk3x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.31.1 Acked-by: Heiko Stuebner diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 819ab4ee517e1..1dfbd1185aefc 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -238,7 +238,7 @@ static inline void rk3x_i2c_clean_ipd(struct rk3x_i2c *i2c) i2c_writel(i2c, REG_INT_ALL, REG_IPD); } -/** +/* * Generate a START condition, which triggers a REG_INT_START interrupt. */ static void rk3x_i2c_start(struct rk3x_i2c *i2c) @@ -257,7 +257,7 @@ static void rk3x_i2c_start(struct rk3x_i2c *i2c) i2c_writel(i2c, val, REG_CON); } -/** +/* * Generate a STOP condition, which triggers a REG_INT_STOP interrupt. * * @error: Error code to return in rk3x_i2c_xfer @@ -297,7 +297,7 @@ static void rk3x_i2c_stop(struct rk3x_i2c *i2c, int error) } } -/** +/* * Setup a read according to i2c->msg */ static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) @@ -328,7 +328,7 @@ static void rk3x_i2c_prepare_read(struct rk3x_i2c *i2c) i2c_writel(i2c, len, REG_MRXCNT); } -/** +/* * Fill the transmit buffer with data from i2c->msg */ static void rk3x_i2c_fill_transmit_buf(struct rk3x_i2c *i2c) @@ -532,7 +532,7 @@ static irqreturn_t rk3x_i2c_irq(int irqno, void *dev_id) } /** - * Get timing values of I2C specification + * rk3x_i2c_get_spec() - Get timing values of I2C specification * * @speed: Desired SCL frequency * @@ -549,7 +549,7 @@ static const struct i2c_spec_values *rk3x_i2c_get_spec(unsigned int speed) } /** - * Calculate divider values for desired SCL frequency + * rk3x_i2c_v0_calc_timings() - Calculate divider values for desired SCL frequency * * @clk_rate: I2C input clock rate * @t: Known I2C timing information @@ -710,7 +710,7 @@ static int rk3x_i2c_v0_calc_timings(unsigned long clk_rate, } /** - * Calculate timing values for desired SCL frequency + * rk3x_i2c_v1_calc_timings() - Calculate timing values for desired SCL frequency * * @clk_rate: I2C input clock rate * @t: Known I2C timing information @@ -959,8 +959,8 @@ static int rk3x_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long } } -/** - * Setup I2C registers for an I2C operation specified by msgs, num. +/* + * rk3x_i2c_setup() - Setup I2C registers for an I2C operation specified by msgs, num. * * Must be called with i2c->lock held. * From patchwork Thu May 20 19:01:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443321 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253280jac; Thu, 20 May 2021 12:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+Rcqee27zerqp5s1kIcDh1y2+t06f9CbTP0CGLXUyHUsPZMJg2T9ufZSeZgQPQGgGpbq2 X-Received: by 2002:a50:ff0a:: with SMTP id a10mr6567300edu.273.1621537305534; Thu, 20 May 2021 12:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537305; cv=none; d=google.com; s=arc-20160816; b=g0yu0cXn15T3mxUP+ZWebv9z3UgKMNg2oIqsgp8ClsMi74efMxwpPek7Ut7NF5eqDh nInEHgInjXXe4/objui+QaLDDFW0zMXomDozp3H2a/HdUp23KUhhB3YpzKoMo0JIbyor i+//I5Ap7GNRKVBj/pVwN2uIF+KMZT5fW4wg0U2DE/M5WQ71DuhR44atKfxKGxikpP0+ Wkrxd5/FELBXFfAiXS+5OJxzEb638htnpdrVJcp5FSbw1XCXT6tAOV/Q+cQROMDRVSP9 HcMmBRtao1tn8OTStUJmVy8oh+vLT4cmGS15YyXi40rmF+OWvvdvQ9U0WnEABU1OskoC sBNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=hXVyRZ1HL0eM8Xbg0cN8+oers/z15+r/qPuDP2xi93NIvfoh69ry58YXjzf2y6SiBY n69p6hD3SDNUYZjMHM3jPjPqAupLn8MJ7k/qJofBtqOx+Z7bDoLFu8QyKeCbN4wxtvHa k6vh7sCaVyxYlQOH78/z+N9knlqxpBnivog0AkvOKDpWcQsKgZiCnu7mTGTGAL4SdR2Q HWh7+lnwBvNhomyPziM1TYedhH/6tw0IHUGV1oNaXjzuA/ySNKYOt2XMafR/HHdOlZs2 /wktPPlMwON/XsqoHqssOpuFipG9NVXvMEj4lZ+VFtf34pRfQblgH6LY+mG4Soafacr1 Z4sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVcJhbK5; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.45; Thu, 20 May 2021 12:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=RVcJhbK5; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237577AbhETTDD (ORCPT + 2 others); Thu, 20 May 2021 15:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237219AbhETTCs (ORCPT ); Thu, 20 May 2021 15:02:48 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0E4C061347 for ; Thu, 20 May 2021 12:01:25 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id p7so14986273wru.10 for ; Thu, 20 May 2021 12:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=RVcJhbK5OzGAKGhBEQ7dreDeedoEXywfTqMLZz/I3jtPJ+WHPz482VcaSmiR+xExyi 6lI0YSm+hJuZr9gzxRHrYTwSYYar40ln4SZ87ryqDaS2ulpP2BwusmytWxnNbdKIWqPz wWl0qd/mlECYGWTHddGX4MRG1AmI7gcafNkSNp+HVDYVByWgh74VzMXAUEQvbh9AON1W TLeGRfsxrh5G8f41eqKaBaxC2HPsMzH6o/nolH2BbGH0oxzDLQuAmR67Xflk9BDtRcZW dDaAGLRIT8l+iTmasRYoX1UEckXPlaFH9+OvxRJKIAOnYyYY0P6H0MsQzbZaQsDlX081 QURw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=oTb1mNwxF9AtXD9z8EkQKBqayPdpVa6UEI1xtHsM4cpiNgXoL6kjILP+88MzwHYDUO diEk4tu1rMtzZQ6/X7n6l7Y6uVlW/uiBBSzEUMTqngipRqGo0JMChii9aajIXA6Xbmwi zab730h8ODiA5s381k7Rb3mlQMm58WlhbFzEid6y0iKqoentKnd2gd2uZt6Fj+lHI1nu 0poFZdNRGKofQ6YtmLeaMxm+l4Ah+FICcfiQDrS9OWPOJmq0BFNu/tSDOwU7Oong3oqW T1EL6Lf86esFWES6H7S5HRoh4wYPM3UzTsLX3fRSQIaYfjgsBbqYQOMHWFpO5YvJJebZ BmLA== X-Gm-Message-State: AOAM533P4gDVZV9Te9Vdy8Hm782U7zxCM4WM+ZBMi6NJyV81jVngq6qk zcuKcWSL6O/wTKbpRUHTQhrD7Q== X-Received: by 2002:adf:e0c6:: with SMTP id m6mr5977858wri.66.1621537284229; Thu, 20 May 2021 12:01:24 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 13/16] i2c: busses: i2c-st: Fix copy/paste function misnaming issues Date: Thu, 20 May 2021 20:01:02 +0100 Message-Id: <20210520190105.3772683-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-st.c:531: warning: expecting prototype for st_i2c_handle_write(). Prototype was for st_i2c_handle_read() instead drivers/i2c/busses/i2c-st.c:566: warning: expecting prototype for st_i2c_isr(). Prototype was for st_i2c_isr_thread() instead Cc: Patrice Chotard Cc: Maxime Coquelin Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Reviewed-by: Alain Volmat diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index faa81a95551fe..30089b38044b5 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_handle_write() - Handle FIFO enmpty interrupt in case of read + * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read * @i2c_dev: Controller's private data */ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) @@ -558,7 +558,7 @@ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_isr() - Interrupt routine + * st_i2c_isr_thread() - Interrupt routine * @irq: interrupt number * @data: Controller's private data */ From patchwork Thu May 20 19:01:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443322 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253331jac; Thu, 20 May 2021 12:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxksopfts07k+NiuohOj4QmiCfUyeBk8ZPYAsnwqHstBA02DiIE48BwtrMidMgtQXDA3zxo X-Received: by 2002:a17:906:5388:: with SMTP id g8mr6355846ejo.413.1621537309899; Thu, 20 May 2021 12:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537309; cv=none; d=google.com; s=arc-20160816; b=ZESjnWkXc1UL9EVwo8xChSQYGJOrU5UCJOkElqqUT5XS5ZxYPBdomBzt9cMyzTUpmX wiNcw9Vz5by4b7nuOx5ufHyqPQOE4polfvBVu+Y/nZmq6tuY+nabjEgHmAGC0Dz7/Tre 7bTnp0n5Jif1gAd9HjMS6mG7fV5mqWGcdYQZP/t5AUWB7vahPK4qihW428m2J4JoD/5p F+GwBSkSqla8mpPM04KsDJ1ooj2iC7SP20vpNBDw4VPZDw90+QAuXE/B+wo3Pv25J2FO b5ix5WJz+IwPwabqRVBpMHZMakwlE6BoKv077B+Vu/CcRPh0fNZMzKsNsC9CthRAR++X 869Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=jBmzpCE6I0vIBem9+E+YOedDXJ/KXlsVwsXaVA1OnLG7Xv3FhQko4cBtj97GM9n05g YP5r43LTblC1Of2D+XpeNomiV1ZITb9BGoccp3w/kKLbz46zxGkZRmf3a/ABl6rd/D0F qMvT+AoD8aFz3ezg+tlmxC9ZzMiy4+TnQGkk+G43UCotW+BBByu8DcKDKvAwjyPJ/YeX Lubws/6BT4NGyLOZ3jSEqJaL1Eq9xJNMSUfYPFAMTSH3yFiAGsnjiAU2k6MuArlch8Fn BhOQyF2YSSRRDXdwsLQ8ITJhv0cjTp7yN5JQ2hQ3bt0N+fn0eaC83O/sXqcVwmqQGDGn M99g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j+O1Mtk9; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.49; Thu, 20 May 2021 12:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=j+O1Mtk9; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237810AbhETTDJ (ORCPT + 2 others); Thu, 20 May 2021 15:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237237AbhETTCs (ORCPT ); Thu, 20 May 2021 15:02:48 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1CC6C061348 for ; Thu, 20 May 2021 12:01:26 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id z85-20020a1c7e580000b029017a76f3afbaso3306195wmc.2 for ; Thu, 20 May 2021 12:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=j+O1Mtk9M4NGgVt+3NsfiQd7A1ZWIT1Kke3k9FKKFxQ+RvhWemwcuBOP5fYr9xUV6d zVKuYUb6BJI/c93srLW6aahf54kj1sLFTE9oG7KgsxWQnQ+rolnTuGUQ6eMwmdLYrfX1 2HPgW3G3oRZUBe6AaKUsDwWch8gN3LBplctpv2Y9sGorHbhT3xxAXngG8jjkGwyt+6oz NTic7vEgZmDoMCC8dk0xJL17T/AcTA5vcHBBV/RZ8Jg191WCm5XGS/Zftm3ZiA8UOJIs iMHynJolI0QrcQGJBnNx4wEXycSwRzPvMC8+fMUG03wUoQaz8CsiguONaYCUZfmDUdos qBZg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=fjcCUXPequaERL0iWKMvvnJNHWoIV+jPVNxaSD9GFTU=; b=XT+ayhnJEOJvtkImW28Nff9TkkfgtQFeAyNx5tCtbyRgbVsCKrIbPN54MWjb/mNLZB g2Q8zM8Bz7w8daQncwcqR5lFssqdAcwDcSSKPnqn0wtw17kpSvdJl+qa+eKNJirf2dgC xZucMM7lVl9/CxYUsBSnmA0oqDVY2Geohcb2TZ0lg/L6JcnCtZgQn9zeIem7kTHCTAx7 Vfk2kwUMmbOIC7v2V8g244XT6LmQLtF0qBbyLS/wegmtz1e4AKDQdEf0HaC0Egjz9Rb4 7BfyrDHYbjHosgK2OETcgZPE0dTIH5MCWczMq3NRpa1QO9kFSxhoGBXMORMLgpp9ycq2 3+Fw== X-Gm-Message-State: AOAM530Brbx3IuxARHXbzeXyaqyrZsRNUanR/BJsJm4vj1v9wx3u8oMF CTvxMs04mjreAA8e5R6w9uGTfg== X-Received: by 2002:a1c:4482:: with SMTP id r124mr5513989wma.42.1621537285341; Thu, 20 May 2021 12:01:25 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:24 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pierre-Yves MORDRET , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Philipp Zabel , Cedric Madianga , linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 14/16] i2c: busses: i2c-stm32f4: Remove incorrectly placed ' ' from function name Date: Thu, 20 May 2021 20:01:03 +0100 Message-Id: <20210520190105.3772683-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-stm32f4.c:321: warning: expecting prototype for stm32f4_i2c_write_ byte()(). Prototype was for stm32f4_i2c_write_byte() instead Cc: Pierre-Yves MORDRET Cc: Alain Volmat Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Philipp Zabel Cc: Cedric Madianga Cc: linux-i2c@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-stm32f4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alain Volmat diff --git a/drivers/i2c/busses/i2c-stm32f4.c b/drivers/i2c/busses/i2c-stm32f4.c index 4933fc8ce3fd1..eebce7ecef25b 100644 --- a/drivers/i2c/busses/i2c-stm32f4.c +++ b/drivers/i2c/busses/i2c-stm32f4.c @@ -313,7 +313,7 @@ static int stm32f4_i2c_wait_free_bus(struct stm32f4_i2c_dev *i2c_dev) } /** - * stm32f4_i2c_write_ byte() - Write a byte in the data register + * stm32f4_i2c_write_byte() - Write a byte in the data register * @i2c_dev: Controller's private data * @byte: Data to write in the register */ From patchwork Thu May 20 19:01:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443323 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253454jac; Thu, 20 May 2021 12:01:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3ohgYEQR18StyR+XpRUvPahunQNSfg4fAKoyjUAuJfcLM0s72lQbWGlZxhI4jOph/ohbj X-Received: by 2002:a17:906:6042:: with SMTP id p2mr3990767ejj.244.1621537317378; Thu, 20 May 2021 12:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537317; cv=none; d=google.com; s=arc-20160816; b=ErB/38ZwRd6LjFitvY1X+GYP+NPwtFa8IR0bB4cxujfwnbGhy51pBa02lzDJ8u70Fo cJT3nW3tEJoJT9afv+2rLzQ6IKl7RF/4o3k9D72ORuEoKHA9O7eXmXIsn8lFfOBA0dpA 1f2vBBQPBf1RKO2kVH3jaTEGBqCW4pr1MBvXzfqLJ/0+K8U/fo5KOFVtn896TGcbxM9R sz10zFKG4nSagfnG3lUdwzAfS/3mX6erv5jy4UMYAua8YEN39KlwdsHuH1aPPjEg/ipq YLi2fzgpMEc3a/9tFzI0UdC/Y9dvV6tTXqsqbUxhml5wvrPCLQ9SlQnbSExTGm2fse8P mGaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=XI0emROKtmwsMJD0PtTh8ltdFDtxxKzO9iHX7rP3LTrVIGV1oUA01IDIbT1RGZgyfo aICuRthIq5CEAlVkexa1C4y2EzHgr9wC0A8XFRuLQl6HBsgnuRMNC/w7ibBrNAsn2Qhq hIcrY5EsTjoZpZU/+FEpV1I3uifOAfI1S4i//8aGYJWIvRCkQAycHKmErlW4sqgUI+Ho kxKllNgYKlZvIiYcg3689feoZNWYRG5un5XyVGMYTgIGDSC/STnWIwIlVa9pToARwBt9 CLcVemo/WMo5BbpjaeE4LdxkQKA5D3/OQ+/K7rxCHSuEwEVlt1lLdGNr3Lms0E5XjXuh Ug/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Givmf1V6; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.01.57; Thu, 20 May 2021 12:01:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=Givmf1V6; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237957AbhETTDR (ORCPT + 2 others); Thu, 20 May 2021 15:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237406AbhETTC7 (ORCPT ); Thu, 20 May 2021 15:02:59 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8163C06134D for ; Thu, 20 May 2021 12:01:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id j14so16978323wrq.5 for ; Thu, 20 May 2021 12:01:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=Givmf1V6oT1LmtODaR0j3BF9pMsQ54O30msgDTjz7pvVA/XDtAe7u82QqmdHSrtdV3 23eDMfT5ksUeQ3nHWPc1FcZBBdl4vIOADI6UkN0O5kkhmFATRxM+zRjt8faNhtkLOKrS Dz0CI9XtvLf74IH1RVlKINeSIDXPpD/pcWlOasO4P6YKoASUbtKnZjtPfvuC764a/8k9 ETlitj6pk/BcxCOc5EaZV7HzWvFpyRGBh1ksUccRZeSbGA2ZkqavF520eOUzmLOJFI0t +9zL88+ZQ82w90NJKyC9XJY8ZibQZbjHBKyCjUuPw2LxhE99ISFz7INQy7TFYtmpEOE3 QXhw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=oojgEmiYnyfgCHne88lQznYcfboz/5IEfHRbWl+doLNGUYlKoY3TGcnCjGql5Krlky uwHr66/XMicWeVm+jHzZduqIplHliaXsJ7NgaB4EyRF4ilc+c6pJPVA9qeecCB7d0SZO CUreVjii5ti1y4KNp8lHmsz8cuz+VFwugnl0O8Ac2THCgGyH+CicaJlmq49BqugMy4DA fB4JYn68S1V8m0XO6tOp/gUzWLEe+Oo6ImY/0RbR/TtOidBf93R17ouu/49YxySoBU/X lMxvzC+bYRNeFvblpMweAzN/nJKpC2T1+kHUrJiv8bf9YRUPl/ycNKRMxyTybEVN9R06 6mRg== X-Gm-Message-State: AOAM533LyBfGwJxbBUGa1P9Vcc45SUE3PS1o10rqUqrdB2oHa80cIIEO Jn4BiwJLSD+k1MlRMDpdFDKYtw== X-Received: by 2002:a5d:6b43:: with SMTP id x3mr5750647wrw.263.1621537286301; Thu, 20 May 2021 12:01:26 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Jonathan Hunter , Wolfram Sang , Shariff Md , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 15/16] i2c: busses: i2c-tegra-bpmp: Demote kernel-doc abuses Date: Thu, 20 May 2021 20:01:04 +0100 Message-Id: <20210520190105.3772683-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'i2c' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'request' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'msgs' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'num' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: expecting prototype for The serialized I2C format is simply the following(). Prototype was for tegra_bpmp_serialize_i2c_msg() instead drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'i2c' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'response' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'msgs' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'num' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: expecting prototype for The data in the BPMP(). Prototype was for tegra_bpmp_i2c_deserialize() instead Cc: Thierry Reding Cc: Jonathan Hunter Cc: Wolfram Sang Cc: Shariff Md Cc: linux-i2c@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-tegra-bpmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Acked-by: Thierry Reding diff --git a/drivers/i2c/busses/i2c-tegra-bpmp.c b/drivers/i2c/busses/i2c-tegra-bpmp.c index 3680d608698b1..ec0c7cad42401 100644 --- a/drivers/i2c/busses/i2c-tegra-bpmp.c +++ b/drivers/i2c/busses/i2c-tegra-bpmp.c @@ -65,7 +65,7 @@ static void tegra_bpmp_xlate_flags(u16 flags, u16 *out) *out |= SERIALI2C_RECV_LEN; } -/** +/* * The serialized I2C format is simply the following: * [addr little-endian][flags little-endian][len little-endian][data if write] * [addr little-endian][flags little-endian][len little-endian][data if write] @@ -109,7 +109,7 @@ static void tegra_bpmp_serialize_i2c_msg(struct tegra_bpmp_i2c *i2c, request->xfer.data_size = pos; } -/** +/* * The data in the BPMP -> CPU direction is composed of sequential blocks for * those messages that have I2C_M_RD. So, for example, if you have: * From patchwork Thu May 20 19:01:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443324 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253502jac; Thu, 20 May 2021 12:02:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxup3778F4+Xf7uuVUmz8N2XUqZRr4al/tUDo2IGzIoOz1nE++0Zy8Ii5wMuukQDQaVhkZ X-Received: by 2002:a50:aa95:: with SMTP id q21mr6455908edc.329.1621537321365; Thu, 20 May 2021 12:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537321; cv=none; d=google.com; s=arc-20160816; b=zrQM3HnHRlAvmYNiUhv6uyY9dkly3gR+n9gcWOcMMLbxeF6laL0w7Bjc1fcNBaub+C 9mFhLq9jclJaWOb9OqgSyQ4f9Z+oRdTLSpiCeIbq9smLmzq6IacwajysXc50cVJAL5GX 1U9A3WHQN0fbCzqlR87brAa7f7uKnWz0qfYkLBlgk8RxC5UKTqOSxd4CPjPFh0qU/rA7 bWB0ltwD+brqABeCUeERjFQE7hQkbvy0XCBRELheflYbNtKiJYiCeDNi++WkPXiQT9Kk 8rfrwnGRPivc2J6m6t7l+mOvXuVMIDgy7+2A3LNyfo7Qy2farm1pQjGRP1bMkxuugePg FvzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=lTH0muMTwOug7I4lzyZCwWSHOAR64RW3Z0dC5wDTPaYXwhRhzvamKhoejKuejpb017 RwerpagsRH0auDuxe7fNXtelBwJLKvZPi6t+HqZcNRUqsXB+FdMm5lbW4AFCDZojE3ef h34TqFTjTgdO3i4mbfFknu5O535hAwQ2iyg2sEtgdh8veAiTpEC9ojn2NHqkZP0lbKHf quIEIXwi+nxfNl3iIrvxQ8PJrPe71FkUc1io5AZiZKGAm0ZewQaLdUH/NKsUo158osKi oQa1EMlBroQcihWGwP8HzYdF208VUdU7x6PM0BBqy+7Myd8eGM0fLQ3VPv5ETE8ME5Md tcuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S3VMEbyB; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv7si3142943ejc.678.2021.05.20.12.02.01; Thu, 20 May 2021 12:02:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=S3VMEbyB; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238008AbhETTDT (ORCPT + 2 others); Thu, 20 May 2021 15:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237472AbhETTC7 (ORCPT ); Thu, 20 May 2021 15:02:59 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE66C06134F for ; Thu, 20 May 2021 12:01:28 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso6028639wmh.4 for ; Thu, 20 May 2021 12:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=S3VMEbyBQOtP5mk7L4Z0kvrmwSyAW1Az4ghiLWeUSLmnTheeBe4hplHB1pAfjXxk2J 1pdySSLkVm+SbFZQqIcOqNLzRgLxn5Dw8p9ITAHRa62sw6sXKC6e3D6blDS/NwyJkHmi d3YGCv/Oe/75D6LdEeM5qVHnwKZ4YneLFby22O/hAjtfCWD9jHkAsQsSLXOOUZv43R7p K266NV2hzw1ZXt6YkStFZL72OD5a52ptCEgGG/wVx0q9yxogfUa45qb5iXZEET2V8Sph AKOpN+Ip03iiVjRhufVncdAvwW+Bax1bJL3KOBBSpvpNgYooC3uFDExasyMCr1gkLq2b hE6g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=HIrBOeC01necSSZBh3WJb8n11gnvVfu7DpmNSO/Nbdk=; b=EQedPtZiOs7qBSYjJDLnuMvvd7sbVktpskwH5XazOqidHp2+MkcOst8eB4wcCWID5x TXycd2W1K0QNG+DknyWRu2r3A/IcVihdE0AXZEX3K/j6ZjynrLvEdc4NIIfWuTxK+amX 0BaQ1Kpz3fjwaf46/stwQNSu1ZEH5gb2xjNULC7ojq4TIBitKlEt9cpC1xfne6cXjtLA BwbOn9IBjUDcu8GOuZOp5BL4LVzQLdtoZTnz7aO2auhdvJa0TsjhAT5ZwJ9w5c5EBcMr djNxhPfF3fBVIbBFYcuAJReleMnpNt3/GczeVfA3tPyM4aww5t+pDliOzrQMpHZa1jdi hQAQ== X-Gm-Message-State: AOAM530fD1ejv7B3BObG08G+aU+OY9R336TLJNY+Vd1oBg1+xr816dhw t8E+j9Yg/tPjR068J+qW7Uqw+g== X-Received: by 2002:a05:600c:2cd2:: with SMTP id l18mr4974579wmc.142.1621537287095; Thu, 20 May 2021 12:01:27 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:26 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 16/16] i2c: busses: i2c-st: trivial: Fix spelling issue 'enmpty => empty' Date: Thu, 20 May 2021 20:01:05 +0100 Message-Id: <20210520190105.3772683-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Cc: Patrice Chotard Cc: Maxime Coquelin Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alain Volmat diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index 30089b38044b5..88482316d22a0 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read + * st_i2c_handle_read() - Handle FIFO empty interrupt in case of read * @i2c_dev: Controller's private data */ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev)