Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp918350ybg; Wed, 29 Jul 2020 00:44:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw70qsLxiPbxuTBGs2A0K435iZlSIhrwrnnokuMEmtGTJ/xTUdLdVc1z9J9EZbMvIfEhl+8 X-Received: by 2002:a17:906:f202:: with SMTP id gt2mr28930625ejb.70.1596008691806; Wed, 29 Jul 2020 00:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596008691; cv=none; d=google.com; s=arc-20160816; b=HmagkT7gnMQgSq3sboub9Bn314oUjZtWCFONGP/I//yNJXQPXL45Ws6j3ZDkwBF+aC 6Ls2VHnmt3Y5oJlnKidPDSzUM/CLzePRZ3m3gXQB8uurmGrpy5xPLUMPHp2WRAI+2nkE X3k6CppQplw0XnnDQiOneJv5zZ3wTzzkdSNLxri2h6vaYQX6HMR1wn9yDXoXkSU++MLp RxKSGlS8tUpFGmLZtCwdxhfxKC0l/cu3VOulHs6MK+G7cv+eYpWl+3Lzgb4gyvXbFG/T ul0Oyu8bIuDpo2SZoEDdcLsN3XK3JzygER4snTwXVBgkD5u+FHUxnOFMfNYIPJ5nT/iu IELg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Qr08tiu9GIyP2KzIYWGzQMfC4J9Z+dZCxGoUt3ykPxE=; b=kDU6XDyGCKIM1MpqMQdeaVRY3KBoipabv/FhVtDFbShtlgIMNouI4OplTE+CQfGeR3 u81LTuhJsH/ZP2dNy1qyvJS093QJtb47Mu82xD1g65ELkGL4BMYIUsebUmgCyvb7cDIq eELctpK4G26BsItAvYQHu2gi4smngRbw6yDi1boqQ0QVy/Wm6TsBVEta5QxyQPM5LS5F KygwCNtKgZ9M+Rq3xx8DPpo57RKp/oAAu4MId9VplL9fuzJJXpRrtbkNP/MB5ESr5OWc 2a+Am5fVx1HWBa/vCapvSaH0bvvMfBmCjrvzPcgJKCgbCXxFzA7cLbzvZ9qlMbM/bY0s Yzsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Xy7Y7WnO; 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 s15si597175ejc.7.2020.07.29.00.44.29; Wed, 29 Jul 2020 00:44:51 -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=Xy7Y7WnO; 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 S1727911AbgG2Hn4 (ORCPT + 99 others); Wed, 29 Jul 2020 03:43:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:57600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgG2Hnz (ORCPT ); Wed, 29 Jul 2020 03:43:55 -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 6FFF520838; Wed, 29 Jul 2020 07:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596008635; bh=jKObMlOsG6jrgJGRXhXHhyX78D9kV4sDJzchO9Ukh8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xy7Y7WnOW2uWpC9ZlaYCwKIFV/kIyz5X6GIB7yVy1f7aXi7bm9K8CIIc8paJhdtqZ izh/S+M1WrPzoMOwEyd0Tn/z0rKKezVWpYLTa0D8lmr2I/NfS+mcb/7UxTBHKhWu2n UO0rtqzjp/j27buJIZO2wkWSPTzgAMvqYn6qFy2s= From: Krzysztof Kozlowski To: Sebastian Reichel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] power: supply: Fix kerneldoc of power_supply_temp2resist_simple() Date: Wed, 29 Jul 2020 09:43:48 +0200 Message-Id: <20200729074348.28317-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200729074348.28317-1-krzk@kernel.org> References: <20200729074348.28317-1-krzk@kernel.org> 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/power_supply_core.c:747: warning: Function parameter or member 'temp' not described in 'power_supply_temp2resist_simple' drivers/power/supply/power_supply_core.c:747: warning: Excess function parameter 'ocv' description in 'power_supply_temp2resist_simple' Signed-off-by: Krzysztof Kozlowski --- drivers/power/supply/power_supply_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/supply/power_supply_core.c index 90e56736d479..ccbad435ed12 100644 --- a/drivers/power/supply/power_supply_core.c +++ b/drivers/power/supply/power_supply_core.c @@ -733,7 +733,7 @@ EXPORT_SYMBOL_GPL(power_supply_put_battery_info); * percent * @table: Pointer to battery resistance temperature table * @table_len: The table length - * @ocv: Current temperature + * @temp: Current temperature * * This helper function is used to look up battery internal resistance percent * according to current temperature value from the resistance temperature table, -- 2.17.1