From patchwork Thu Jul 16 13:59:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667541 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BDEE61510 for ; Thu, 16 Jul 2020 14:00:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A583520760 for ; Thu, 16 Jul 2020 14:00:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="apJ1u6/f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729247AbgGPOAT (ORCPT ); Thu, 16 Jul 2020 10:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729225AbgGPOAJ (ORCPT ); Thu, 16 Jul 2020 10:00:09 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D99EC08C5DC for ; Thu, 16 Jul 2020 07:00:09 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id b6so7138353wrs.11 for ; Thu, 16 Jul 2020 07:00:08 -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=YB4uXEBe5ZV1fIYVAbMMfG0chbMfovgz8MVZY4BzIb4=; b=apJ1u6/fLV5zsisO/3CfZLtBf89rOnUM3/E1nIaW8guRoktsMjTZj5vgsV/m5hc+fX eVDFfiaMEFaykLhFeV+KU0ilAx4kSXh4w3UvFa4JWehEcZmdQvzX2Q1XuFrdJ5tZ5XLD Qv8FZxZyW9rGxd7735Hmwgw73TCZx3Jj5HZFcLuudFEIXPYVeIuaMDlnDdaqta0ph1QE KCsCVlSmxyyQvBiHGKMR097EuHHWvk1wZ2BhPZW9px2WhCdAg1alQvnKZ8207dxi8xb1 roex8vcYWmf+2TcLGmWcP+e1bVB1X8AVlpWoO2JXKDgCTVR24iZ2k5OwIeM9pfeaR/C7 Uswg== 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=YB4uXEBe5ZV1fIYVAbMMfG0chbMfovgz8MVZY4BzIb4=; b=VTASKp8AUyz0sDkgODmuOoXzSquEsgSRq7IhwwT9YGkV//amVwf489wqaYgTed729M bZ6K9RWwj8dCUONl7fVgQ1wVVygXQJjRRSHvOiOgHXUNJLwF6j0tGPRCa4ddGg1pDQAI RfOG+GJnKDiOHNS0sWvJHlucB3aP2FuxEPZ76uXUfYbxrCRTlg4MBKvt7E/uLdFrwSo/ IYpWTyZ8IHgaxYIo6t7hRohtXYWB3337qabyoLy8YrkCD+O/6g7SYk3MLa7rLW17bxCx AJROxoGvOEFZ0QdMDrelBCkJlzNeKW0tfMYhQ73/HPXfDqYqz3blKKQlRED2M+PfAiSk rh4A== X-Gm-Message-State: AOAM532FuW5akTr3rGP4TwQlA/Dkj3jf+Iy65FsMDzjsjf19w+MKYK7x pyV9KntY8zRYUnGr6l+OwLscPvsFKAc= X-Google-Smtp-Source: ABdhPJxHXGiSrMDXMcitHrAlUihoFBjlD5vbqRk01ClPtaIinGTqc8/QCQ1dXJOMmq0YVKMNsV9jsw== X-Received: by 2002:a5d:484b:: with SMTP id n11mr5021487wrs.320.1594908007721; Thu, 16 Jul 2020 07:00:07 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:07 -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 , Daniel Baluta Subject: [PATCH 29/30] iio: imu: kmx61: Fix formatting in kerneldoc function headers Date: Thu, 16 Jul 2020 14:59:27 +0100 Message-Id: <20200716135928.1456727-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'data' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'mode' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'device' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'update' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'data' not described in 'kmx61_set_power_state' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'on' not described in 'kmx61_set_power_state' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'device' not described in 'kmx61_set_power_state' Cc: Daniel Baluta Signed-off-by: Lee Jones --- drivers/iio/imu/kmx61.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index e67466100aff4..d0cee2e09884d 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c @@ -312,10 +312,10 @@ static int kmx61_convert_wake_up_odr_to_bit(int val, int val2) /** * kmx61_set_mode() - set KMX61 device operating mode - * @data - kmx61 device private data pointer - * @mode - bitmask, indicating operating mode for @device - * @device - bitmask, indicating device for which @mode needs to be set - * @update - update stby bits stored in device's private @data + * @data: kmx61 device private data pointer + * @mode: bitmask, indicating operating mode for @device + * @device: bitmask, indicating device for which @mode needs to be set + * @update: update stby bits stored in device's private @data * * For each sensor (accelerometer/magnetometer) there are two operating modes * STANDBY and OPERATION. Neither accel nor magn can be disabled independently @@ -718,9 +718,9 @@ static int kmx61_setup_any_motion_interrupt(struct kmx61_data *data, /** * kmx61_set_power_state() - set power state for kmx61 @device - * @data - kmx61 device private pointer - * @on - power state to be set for @device - * @device - bitmask indicating device for which @on state needs to be set + * @data: kmx61 device private pointer + * @on: power state to be set for @device + * @device: bitmask indicating device for which @on state needs to be set * * Notice that when ACC power state needs to be set to ON and MAG is in * OPERATION then we know that kmx61_runtime_resume was already called