From patchwork Thu Jul 16 13:59:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667621 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 F359A13A4 for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB11E207BC for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yYgqmFai"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ziAfVv30" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB11E207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TEtKTWWsQdCOlXlA23+vfsuXD8IPV/PuEQQNZfvEdz0=; b=yYgqmFaiPh5Jd0xsTsV6VYvZ3 CywHaB0K4hpasNUAdVqS+PFNETAHd491B704xaX2GBs5zIictyObSOo/chezcEmzBN7eGwiV0dXHG TzQcEldcvqAbuCh8ZX7exPbv6boPwfnWzP5BXBiIfHRd4E0kxup++l1NVhAE0SaWx8r2bZ+1BunFm dS4hzWoucnaSTbkceYSa0yoSDL8qOr1yBaPXf5uu2mWRmBEHOdZ3nOTOKSGuYHf7F4es69m/v+cv7 vA1+dVFgC9HJz0ZhE8TQKcDGYTMt6IvbzTu8LIvz5JI/YTfum/9P6mF4Y++3Cd/WO6ZFBHVrYdLs2 Uu63t8DsQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W5-0000MP-O5; Thu, 16 Jul 2020 14:05:41 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qg-00043r-M0 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:07 +0000 Received: by mail-wm1-x341.google.com with SMTP id f18so11700008wml.3 for ; Thu, 16 Jul 2020 07:00:06 -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=h9Q3bTJZX3NDvreJxnZXUAz4v4ayzBXDJ3tm0mtPNPY=; b=ziAfVv30fXS8ze8sJobKL6Wnl0wB5LcRq5zYNZN7QBBRgefFsBvPnonlKcGj9LW/0s Fz7UenrYVPmXFgcF6XEJI2lPgfmp7byFmPMaRc0P8v23DRrDMHjwL55+nx4BpIOMxvXe YGUFcKGaNCuAnjQ8nNUaRlHfwr9OP2T4hPh7mxIj/qkhOjp8hMbOmW1NLsQ1q5lMN3Z6 d+3ibLeltB8dbDdNJOmHStX3p+QvjgvOBjlMOt4FLsqCFiRAy5MO7emnTiZ0c3cjo029 G9mUyJCdjavWgZ4cG7vDvrQoTSzY4qyzr9qDXhy8IiPByiEMLJbsbqpXRv7baOPJQzjY NBXA== 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=h9Q3bTJZX3NDvreJxnZXUAz4v4ayzBXDJ3tm0mtPNPY=; b=C2eVAg1NW+UppNpi++rw1CemjmvHkEM+FU7wgxqxpsX3jAA0eoqk5TQSIwKTxIrHBV cAkYCODhuxy1eHTVPg44oDceKA0qVctRfRpnNNbgj/sHXo2N5Pznv0C5oJHlsd+pVKUg xCbRgVGujRzYQb/xlmqi/7YAyWDx4YRS+exhXqhQm8ZYbJFfYnPG+FHj3pKYFaJr7QSr 4jhulrGSKdAVzyvkaaO7nto36f3KLzeEX8VAcgHhekMQP8E90OSWumX6VNFuJa2u2a4u +5fmertKWN3iMse/H60abwUijZJ44A7reVNOi1cYokOCaUjuoPq4npibSgr2PeZGjqpF fDGA== X-Gm-Message-State: AOAM533LbfCIfIewQeMTfYd/BydnLwfZYR1zWePCorTu+1G6hFQc+FxE MAFS2QyoQjz4FMrVY/wCcazQNg== X-Google-Smtp-Source: ABdhPJybrr9cAklwujn3fxx1mowY6xGoBHDpPn3WqQCQ9G7qVh+ValpUYqPhWju9zlFPKh56e05p8Q== X-Received: by 2002:a1c:790c:: with SMTP id l12mr4442466wme.50.1594908005504; Thu, 16 Jul 2020 07:00:05 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:04 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 27/30] iio: light: cm32181: Fix formatting and docrot issues in cm32181_acpi_get_cpm() Date: Thu, 16 Jul 2020 14:59:25 +0100 Message-Id: <20200716135928.1456727-28-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100006_824971_E99BDFD1 X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Kevin Tsai , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'dev' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'obj_name' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'values' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'count' not described in 'cm32181_acpi_get_cpm' Cc: Kevin Tsai Signed-off-by: Lee Jones --- drivers/iio/light/cm32181.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index 160eb3f99795e..9764099faef9a 100644 --- a/drivers/iio/light/cm32181.c +++ b/drivers/iio/light/cm32181.c @@ -93,10 +93,10 @@ static int cm32181_read_als_it(struct cm32181_chip *cm32181, int *val2); #ifdef CONFIG_ACPI /** * cm32181_acpi_get_cpm() - Get CPM object from ACPI - * @client pointer of struct i2c_client. - * @obj_name pointer of ACPI object name. - * @count maximum size of return array. - * @vals pointer of array for return elements. + * @dev: pointer of struct device. + * @obj_name: pointer of ACPI object name. + * @values: pointer of array for return elements. + * @count: maximum size of return array. * * Convert ACPI CPM table to array. *