Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp486938pxb; Mon, 16 Aug 2021 09:53:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe9ZF9mrrjyW1ZFIJ0Tu5JSzp/fZhqTu8G4SrFXV8ou0IvJU0awb5wnw3pvhbQC+lF3vpV X-Received: by 2002:aa7:da8c:: with SMTP id q12mr21353089eds.304.1629132815180; Mon, 16 Aug 2021 09:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629132815; cv=none; d=google.com; s=arc-20160816; b=tdhWaOvGtNbIqJKCQFU/r6j3BDb3lcwHU8uXQwbTeBbveTHbCoECDiuCV9O0DZYZsO lix1UpEW+WAi5bLwQj7pEcESdWJoIkTeZbB57gspdj1FqoBfx9tJJUvs5kDXW9csb4R1 UVBnKDPQdQ+pjyJEP+k2NEqEQQhoghAoB8xcz80zcemDWrzx3LXFa38EUTyYfCVFn4MQ 6i5/1P5g5oll2Tx3UIvRRpbVa4toYiKUat5j/TNwWAIB4tQSCk9iTDKr0QfAv+PppaFV ndvuKByX1RILBF1oWj2orZrC0FYyMB1D6y9ZL+x+eHlUsf9yE/YRg0ICSO0qYMVeNK+6 0PoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :message-id:date:subject:cc:to:from; bh=bRJV//Tf9rRtLD7l5xq9l5TosxXbOvvuTU2pgMnz0YM=; b=t36Le+dcgSkrmw+yRqByW4tf+6icc6MhRwLElacNw1uY+MWyos5MOF8sjJXo57M1RP Zs0V7GVixdOm+Aqm9kf7wBN0EOBPf2P0ErhdqevTpAT4VWGHCv4XxXccw7+rmj/ee83L jexPRpl9EiMKK+CVvyO1LSiMwAoj1Z11TnxzQfOCG3fgvIXWnYA/L/AcYEuQVe4LBEmA Mvf06TUB7m6wl0i9Fpj3bOVmOohAs1KVD5FY6vftinkF3/KV6m7A3zqthNBQUmRmIqmv rSRXaOiqWYZh7miSv/7szu66cLwFYdK2XdGQ4UIM3cV6uNdiU8K4XnkKyPLQc08IEblQ qz2Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl23si11623846ejb.497.2021.08.16.09.53.12; Mon, 16 Aug 2021 09:53:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230286AbhHPQwD (ORCPT + 99 others); Mon, 16 Aug 2021 12:52:03 -0400 Received: from comms.puri.sm ([159.203.221.185]:46840 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbhHPQwC (ORCPT ); Mon, 16 Aug 2021 12:52:02 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 5C655DFE25; Mon, 16 Aug 2021 09:51:31 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9q62BTqDNjni; Mon, 16 Aug 2021 09:51:26 -0700 (PDT) From: Sebastian Krzyszkowiak To: Sebastian Reichel Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@puri.sm, Sebastian Krzyszkowiak Subject: [PATCH 2/4] power: supply: max17042_battery: fix typo in MAx17042_TOFF Date: Mon, 16 Aug 2021 18:50:14 +0200 Message-Id: <20210816165016.3153776-2-sebastian.krzyszkowiak@puri.sm> In-Reply-To: <20210816165016.3153776-1-sebastian.krzyszkowiak@puri.sm> References: <20210816165016.3153776-1-sebastian.krzyszkowiak@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Sebastian Krzyszkowiak --- drivers/power/supply/max17042_battery.c | 2 +- include/linux/power/max17042_battery.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c index 01e6728a9e2b..eeccc365fe54 100644 --- a/drivers/power/supply/max17042_battery.c +++ b/drivers/power/supply/max17042_battery.c @@ -744,7 +744,7 @@ static inline void max17042_override_por_values(struct max17042_chip *chip) struct max17042_config_data *config = chip->pdata->config_data; max17042_override_por(map, MAX17042_TGAIN, config->tgain); - max17042_override_por(map, MAx17042_TOFF, config->toff); + max17042_override_por(map, MAX17042_TOFF, config->toff); max17042_override_por(map, MAX17042_CGAIN, config->cgain); max17042_override_por(map, MAX17042_COFF, config->coff); diff --git a/include/linux/power/max17042_battery.h b/include/linux/power/max17042_battery.h index 7e5da60cbea3..86f16fc3b694 100644 --- a/include/linux/power/max17042_battery.h +++ b/include/linux/power/max17042_battery.h @@ -69,7 +69,7 @@ enum max17042_register { MAX17042_RelaxCFG = 0x2A, MAX17042_MiscCFG = 0x2B, MAX17042_TGAIN = 0x2C, - MAx17042_TOFF = 0x2D, + MAX17042_TOFF = 0x2D, MAX17042_CGAIN = 0x2E, MAX17042_COFF = 0x2F, -- 2.32.0