Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp35819pxb; Mon, 13 Sep 2021 12:14:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKH37mlHDH8V8aS1FjYDoxNDfFJ1iTYySdg3nYKt4mWrmppFO0swJsGLw6Di4xhQLTbX59 X-Received: by 2002:a5d:8185:: with SMTP id u5mr10566921ion.173.1631560443283; Mon, 13 Sep 2021 12:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631560443; cv=none; d=google.com; s=arc-20160816; b=zZ/tuisdXyMtcaVg5XxpakKqXZHZP9FnaGJpv9Q/GfJ8d594gQOoHB5Vtj3tJE+KOy rcv8pVcf25gM50a113v7o9B0hvbQf69XGvyhNu4Geat+HKDLZ+FK6ZqA3/R/h1vlllxe lBtgXm/MsJFburGgWB1Sn+m+4WOqUf5StLNYwzaxbdBxR7cUdbjJTHH2le3pwFE5X/FB gZrAOXUEM0jl8a8/pkYjXdM731/c/C+pu9IVmTGHiwyiNLUUiGi/dVwnFlKs/wUdm61K U73y3J3PNY+mX1IrQlANectdbH0U3/bWee7WbFx8w8DSXS0y+DlhcIg6z68XPXmJlRts 7F5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bIx2vDr2yPAG2eGB5JyE7Zc6T/Ne+h2K7DtZl64GMys=; b=UDQKC87fr4WCe73Q3tJpXc5XPecCCmGfEw3Ih8RbudWnbVABeMoLQhbj9K4EfjQl5c 4TCVy3t/ko734azcudy4OBS63uDZH0XrZBdu5gkTbkUyxftK8GtfmuFUOSCrDrIoknVb 3oiEGqAcmz8GwxcY7Vy0cqDBIsO82lBlS/Y6SswIE8z9Mm5ItGO+oVF19+2xjt00qfm2 OH9T1RAM6UHChBJIyp4iU/xaXeLnQV1GnbKRxKeQaYZTz5t6IIRaI0vFe3isE2OW7L9P rOjuEs0kGN1G4187qM0nlMflXO80wFTK6l08QrGBfH29jfxZmm9P8yCFLsi4aRIljNZa ajDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AqfWxTqC; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si6849705iok.10.2021.09.13.12.13.50; Mon, 13 Sep 2021 12:14:03 -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=@linuxfoundation.org header.s=korg header.b=AqfWxTqC; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241104AbhIMNb6 (ORCPT + 99 others); Mon, 13 Sep 2021 09:31:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:50120 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240674AbhIMN3E (ORCPT ); Mon, 13 Sep 2021 09:29:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 709576127B; Mon, 13 Sep 2021 13:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539435; bh=dCwvtV49uRlu0sfiwKDmU8FD5EBcViotkz1lNaPHZCI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AqfWxTqCEQXBxz+ZF/PzIYlxirlFwj3o+NWbwqi+uII3JszaoNgG1AMXxbNkZSHBj p5SFI1RKJqDHcxQWLqjdVThl4jW+YSeJtnCIBRyAbrCFNo4H3oYGgAl9KNCcTUjqd7 qUGFxciOtZESUH0H5OlCVGVvFE9wB2kTyWuB41gQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Krzyszkowiak , Sebastian Reichel , Sasha Levin Subject: [PATCH 5.10 023/236] power: supply: max17042_battery: fix typo in MAx17042_TOFF Date: Mon, 13 Sep 2021 15:12:08 +0200 Message-Id: <20210913131101.126744874@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Krzyszkowiak [ Upstream commit ed0d0a0506025f06061325cedae1bbebd081620a ] Signed-off-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Reichel Signed-off-by: Sasha Levin --- 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 794caf03658d..48d3985eaa8a 100644 --- a/drivers/power/supply/max17042_battery.c +++ b/drivers/power/supply/max17042_battery.c @@ -738,7 +738,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 d55c746ac56e..e00ad1cfb1f1 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.30.2