From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15428C433EF for ; Mon, 28 Feb 2022 19:11:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C7F3F83C60; Mon, 28 Feb 2022 20:10:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="aldlXG5N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7054683B8D; Mon, 28 Feb 2022 20:09:25 +0100 (CET) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A1A5183BE2 for ; Mon, 28 Feb 2022 20:09:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x331.google.com with SMTP id k9-20020a056830242900b005ad25f8ebfdso10277285ots.7 for ; Mon, 28 Feb 2022 11:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=G6BFKP4p7epOB7cp5kS1ewfcL29WX254kzPwCT/9oMA=; b=aldlXG5NPbbM95oD5frXWbViMmR9hRDAfcoBsk9Vnp/YHHbDi38m5yYH6JpK2/j39g aM8FN885v4tbHqwIRg7+Dlq4f5QZ/vUvj6r4xo/b4D/MQ/3TCCvvGDq6Sz+1mIbfa+dH gsuHURp7QeOMaedaQRiqGsQVM2WZQw+EWuPbM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=G6BFKP4p7epOB7cp5kS1ewfcL29WX254kzPwCT/9oMA=; b=0jiNq3hnvw/FzXGoQJbJ8e9jQ3tKjwWb7/VDimjsz5Z/OcfDGhViUX1g2b9xVeXM2R CTaKOiuvsMTL7E2QiIcxvzAhQpvJJoESm2k2oumQYumNrPD8tFQDnwAztC4E9CLYbbT/ z51i7CdFmo/o4UbNI9cQwdpX3tze7ClHXqUB5H0axVbM1aRkm2vJX1dX2rFcpHHII8h9 elp7FABk+AsuGcYxTfesSTo4xuOYYWiLzfz00DNKz9tCCKLNK2VX9BwcURLqek7WkApn KQJbvrgCG1qD4x6Kz7M/I8YTFg136jEGjpOUHI+6aGXLY56tkQz/0RY8g0lSYcHtLJtk U9/Q== X-Gm-Message-State: AOAM530WY9wHOb+E0lG1NSguoX5LemSeGvVt1PzQFNZN9smZWWL980GZ uvTjM05MsAiVg6G5fLhUg3/cnNeXCin3IQ== X-Google-Smtp-Source: ABdhPJwOthTxkOG62pMTV55yRwCjvPOK3UPQNhKa4b/Px5+ACmcSudFD75CZ5GZKKib8D7T1KCTY5A== X-Received: by 2002:a9d:754d:0:b0:5af:6bad:7fb3 with SMTP id b13-20020a9d754d000000b005af6bad7fb3mr10208089otl.296.1646075350259; Mon, 28 Feb 2022 11:09:10 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id f188-20020a4a58c5000000b0031ccb8272f1sm5290577oob.33.2022.02.28.11.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 11:09:09 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Alper Nebi Yasak , Heinrich Schuchardt Subject: [PATCH 10/18] cros_ec: Complete the comment for cros_ec_read_batt_charge() Date: Mon, 28 Feb 2022 12:08:27 -0700 Message-Id: <20220228190835.1480772-11-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog In-Reply-To: <20220228190835.1480772-1-sjg@chromium.org> References: <20220228190835.1480772-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Add the missing 'Return' information. Signed-off-by: Simon Glass --- include/cros_ec.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cros_ec.h b/include/cros_ec.h index 2a7728622c..94c988a7d6 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h @@ -648,6 +648,7 @@ int cros_ec_vstore_write(struct udevice *dev, int slot, const uint8_t *data, * * @dev: CROS-EC device * @chargep: Return battery-charge state as a percentage + * Return: 0 if OK, -ve on error */ int cros_ec_read_batt_charge(struct udevice *dev, uint *chargep); -- 2.35.1.574.g5d30c73bfb-goog