Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp918327ybg; Wed, 29 Jul 2020 00:44:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx850ryUT8qlwz6Y8lS+lK6jMwTKIQi6hkqhtRVpmixwgqKRcQSpWx4ddtp01Q0robsD65o X-Received: by 2002:a17:906:5c52:: with SMTP id c18mr19198851ejr.168.1596008689249; Wed, 29 Jul 2020 00:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596008689; cv=none; d=google.com; s=arc-20160816; b=fTcmn+/MO9+uNo4rBFCX8Uv1FhZ3DJ6h1SHRZadGxFM0cNJoeVct0Orlj2nE+u00g7 6T7HesYyoZnqVSLTMksN7m3H1SqO61Vs8qVMpu68724/BZIvroqSTsLhQR4AgM7N1ywX iI4eNMQNGuzmLCk0TK7p4fNvKPDE5WCPgzzs2IjuH70Sr4s6ZqmblJONDaBw/L4k49CM dWjIUDr8VnT8c8Sigd3KHfKl3WG030Ch/4VCbGnF7vUSdE2zeisNaaD0uXD/mGJUnTxJ aW+QkDEC5IXQ1SnCzJ3KgCFZGWSXySj8hCbns+So1KSI26I7a5pp/hzQ3S83q+B/d8dU nfIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Cn6Cvi+ujmD2MvkpPmUwuaywHOBY3RUcX8qoy6fWBNA=; b=UAVxzl5TBigpy7l9vcSFVDIWysrl+/5fUVmQPofEl/6dSwZcpkOkRXYT/GApP9oDFT kZqCQGTqfqu8FaVmKIEnZZnxWtWD1kVuR5UGDsbJsG904lRjzD8cRrOUptSb56ax1Ku5 mHT/WMVCnM/Oxp6vhYL+qbWFLmGcdanGS9FwtcwVfJk+5ku6Z5qbBx/Ad1yBq3Gyt1Kt BNVsVWP6t19AziMG6qmAMRNt1ocw3VTQDZ9VvB2VS2qMPTLyRL4pC/pUdUskyEuSc1jO a0wEttwuiJhQpEMRPv3qhhuGrf4NMSQWHP79M/j+ildUwyTKc1jrzNQF2MVEK82g1Ltt UDUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="yGsgbS/g"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si590682eja.122.2020.07.29.00.44.27; Wed, 29 Jul 2020 00:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="yGsgbS/g"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727885AbgG2Hny (ORCPT + 99 others); Wed, 29 Jul 2020 03:43:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:57560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbgG2Hny (ORCPT ); Wed, 29 Jul 2020 03:43:54 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC66920838; Wed, 29 Jul 2020 07:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008634; bh=Wg9pd3gugixREFFJWJ59cuDFGcbYxjerHh5c6rdj/iw=; h=From:To:Cc:Subject:Date:From; b=yGsgbS/gHEgi+9i7K7ejRFxeAHqcsxSjEhq/lGmXEPHEYScVsvpjuKLti/mXGDI2y i3tsrvyoPsMaTnisjDJQpdnVwfIVEIV1/g1KAs1lPiIGNGGZr0reL1E4lITTFZS7fo /GEnQYdJSSMddQBlaB+Kao9ex0irWyBUSBu31kBg= From: Krzysztof Kozlowski To: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] power: supply: cpcap-battery: Fix kerneldoc of cpcap_battery_read_accumulated() Date: Wed, 29 Jul 2020 09:43:47 +0200 Message-Id: <20200729074348.28317-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix W=1 compile warnings (invalid kerneldoc): drivers/power/supply/cpcap-battery.c:292: warning: Function parameter or member 'ccd' not described in 'cpcap_battery_read_accumulated' drivers/power/supply/cpcap-battery.c:292: warning: Excess function parameter 'regs' description in 'cpcap_battery_read_accumulated' Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/cpcap-battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/cpcap-battery.c b/drivers/power/supply/cpcap-battery.c index 6e9392901b0a..90eba364664b 100644 --- a/drivers/power/supply/cpcap-battery.c +++ b/drivers/power/supply/cpcap-battery.c @@ -274,7 +274,7 @@ static int cpcap_battery_cc_to_ua(struct cpcap_battery_ddata *ddata, /** * cpcap_battery_read_accumulated - reads cpcap coulomb counter * @ddata: device driver data - * @regs: coulomb counter values + * @ccd: coulomb counter values * * Based on Motorola mapphone kernel function data_read_regs(). * Looking at the registers, the coulomb counter seems similar to -- 2.17.1