Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2131692ybh; Fri, 17 Jul 2020 10:00:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCnyma3ZWaF38ptsO4aBfMxtAGT48Jhxzy5Oz8EFKN0yugUiD56V2EMg6rXpG9+G3Se52X X-Received: by 2002:a17:906:31c8:: with SMTP id f8mr9066685ejf.269.1595005257162; Fri, 17 Jul 2020 10:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595005257; cv=none; d=google.com; s=arc-20160816; b=ffmVjy6nJC+1y3Q2+U9X/IdwSE9x+m5+hT84a3kB7b15Kbb3xTgJbswWil+PlNir4l AhSj6DPtjm369hEM44izqF6g8H/lKxQj1B404CKyE0IJ/6Jf0dABrr5uGn2L8a5H7fbe /yQGqR3dFHADP9XFai60JpiCD4gRXyLPvNovhszTLNv+DvZBhnsj4ApdXYL4Jamj9P2k vkCNzSkJWiNvc8+ewdc65BNPrJLLbqNUi5xHvKPQJkkqC63euzMiFAXi1GNFoDGBEtaz oNz/V9rws1mMN2AQlh6WuTIn/MkTNC2Mne95J3KliZLrhSrbrpMdqZ2woZjXwfevtXnJ wmZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hYRcY09U97CVxzwpsH08LkHk/eW62/WS+I9jHKij00E=; b=gQbsMKg6SgrKQRmMLSfvCE3MgEybXY7C3Ov3oVhYRMZABM0iMabYnvXR0EVdy9IhCp Ba3yrlcvr8/sGC/cOKGtAbWpV7oQCPh9s87Cp0itVKaa+umvMW4J806plpEwkqCN1cCr YCZU0dCZCIHCTnB0tmWJ6//9sH2otPawSIL9s/kJDv4hXS1bVzkEZnjFqbsyTAn/JO+v u3UB+Ui6ydwvJ4IRw6KuPcZJ97tybbv+SqBP1n2NaZcpkSjWYDEq0U3M1GCrjTVnX7cU vawZaXKJ9ZxgdZrFHKpWSli3DMhtfo151DW27tgztCkW/1r3AACHMHEajU945sB9Wb76 qXHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9lD2Fgc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c94si6134566edf.589.2020.07.17.10.00.33; Fri, 17 Jul 2020 10:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9lD2Fgc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbgGQQ5n (ORCPT + 99 others); Fri, 17 Jul 2020 12:57:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727094AbgGQQ4L (ORCPT ); Fri, 17 Jul 2020 12:56:11 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09A7DC0619D2 for ; Fri, 17 Jul 2020 09:56:11 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o8so15943741wmh.4 for ; Fri, 17 Jul 2020 09:56:10 -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=hYRcY09U97CVxzwpsH08LkHk/eW62/WS+I9jHKij00E=; b=S9lD2Fgc5UI10/qScFay1KtnmHz3np9XzTgCMLkNWXkkHSEUblJu5387F4Amn6iIwy 6Xo5Ixfr4lMmOoDZ4iinaU70w0+tcHGMflhwfBixXPjyprx4xfBtHrKs3nEbQ2A3I6ba PH9h+zF6K4gmX8i97SRg/00OkGBSw/v7S59w0j3GUhBvDhegdC/XVKBrLXCScupMj3a0 qaCf+F3g1vYRFDRPqBt+2oebbS7YTGjCzxT8dTeXOlB8TMUxtUmkYX0qtGx6xn2eFKl/ bsrIyOak559L1U3wXrbod/rH63Uu/+NP9ZD2bcK/7HiEhpJYvharcDRcBUaZxzyjCERC VvFA== 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=hYRcY09U97CVxzwpsH08LkHk/eW62/WS+I9jHKij00E=; b=hWssl3NKICjWYfDY/2tMVVFPQx86ocYRvAYIVA01cis133lXp+i88sZFjXC9pVIMi8 gbgV0wdojEZxYDCg/yKiRFFoj8e4SXs+ePZ6B202AlLJB8QEIzSlmScaI2FwCst9ZtuC DYZztBYWsLB50lShtptse3gvxyqnDaT0npVr1QRtCO+e6hPyKNcu+YkkcnmA7FdiW6A4 umAc6Z3pVbqQxNG9nFqIYOlAxu+DSsoyOooAZW3dAtRS9ZQ7kKCp1q2lDhDeufZbCGBb /dXerOiN6OTxbtaRd5QLkie11pQmWsJI8tD2EIW+a+OkKJyO3XQ7aO1iQ+q319tkisa7 9zMw== X-Gm-Message-State: AOAM531GhbQzphY1ZO8A5VnIQAlcOxeCypPkehNS6/zm5Ie6fojzu0sy q474BschOiB2C+B5BKgfTS9tBQ== X-Received: by 2002:a1c:dd86:: with SMTP id u128mr9977983wmg.131.1595004969731; Fri, 17 Jul 2020 09:56:09 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id k4sm14941516wrp.86.2020.07.17.09.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:56:09 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lee Jones , Adriana Reus Subject: [PATCH 10/30] iio: light: us5182d: Fix formatting in kerneldoc function block Date: Fri, 17 Jul 2020 17:55:18 +0100 Message-Id: <20200717165538.3275050-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717165538.3275050-1-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/light/us5182d.c:457: warning: Function parameter or member 'data' not described in 'us5182d_update_dark_th' drivers/iio/light/us5182d.c:457: warning: Function parameter or member 'index' not described in 'us5182d_update_dark_th' drivers/iio/light/us5182d.c:479: warning: Function parameter or member 'data' not described in 'us5182d_apply_scale' drivers/iio/light/us5182d.c:479: warning: Function parameter or member 'index' not described in 'us5182d_apply_scale' Cc: Adriana Reus Signed-off-by: Lee Jones --- drivers/iio/light/us5182d.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c index b995f21a33479..24843597beba5 100644 --- a/drivers/iio/light/us5182d.c +++ b/drivers/iio/light/us5182d.c @@ -446,8 +446,8 @@ static int us5182d_read_raw(struct iio_dev *indio_dev, /** * us5182d_update_dark_th - update Darh_Th registers - * @data us5182d_data structure - * @index index in us5182d_dark_ths array to use for the updated value + * @data: us5182d_data structure + * @index: index in us5182d_dark_ths array to use for the updated value * * Function needs to be called with a lock held because it needs two i2c write * byte operations as these registers (0x27 0x28) don't work in word mode @@ -469,8 +469,8 @@ static int us5182d_update_dark_th(struct us5182d_data *data, int index) /** * us5182d_apply_scale - update the ALS scale - * @data us5182d_data structure - * @index index in us5182d_scales array to use for the updated value + * @data: us5182d_data structure + * @index: index in us5182d_scales array to use for the updated value * * Function needs to be called with a lock held as we're having more than one * i2c operation. -- 2.25.1