Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1822500pxb; Mon, 13 Sep 2021 06:20:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvdSASbVeXZIKlZxKOdjHtw05DVYVm7tWdxC7Tqcg6koNWlBeBd2QdFhjopsTXVgd/AT5w X-Received: by 2002:a05:6638:372a:: with SMTP id k42mr6307350jav.71.1631539258725; Mon, 13 Sep 2021 06:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539258; cv=none; d=google.com; s=arc-20160816; b=ZbZzaWGIhevWBecvyh1p7yZX/r8G9tWZFTUZRlNy5Zua7staLsnRISyRqoUtiYviP0 Gm7rE0ETYNf+TgVNLQ8tIGiy2L+aLDLv5GkMANtj/0/4Ir/cltqQlEFAMrz4T0TJBmZD BwhVngRHlqGxo3WTV1WyrsmUjCEzQ47i6gIy0rS0SDaAdOf8N+70FIPUD369IEx0fyv4 q750tzoJi6qdJrJY10ojHsXVine+AnuP4ADSM7wtwErvgyEjB/dkM8HsfpYiZzMw8tTc EWlEGwKBP3n/9OKVIZQUsXnrHNqCn0FJQXv87F61E+rgdsxL+fodtyVIKHguADlGifkM S10Q== 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=+T4D+XnJHngIJgDGZ2P2K389x8UPL6qd35IzYIqgYfM=; b=NxubQx7PKf2kLVaP0pUWpb7Oyv8ouQ2REOGYeIpyqhBaDnKAjR+HdgGYDsB2Xz1OHj HA+K3f4Mr8PmM/zVXb39AzkFdDHUOANV+OSYyRjnljjOSCufc5KIICxwjHbky/YN79nk UsWTNDVZLu3P5SEJdLBhjzdttHiN+YR/B5INXoZM8mk5sLmzbV1tkbgmJ4dPNSk+mh9g GPTLqY+PERZGpInvvOvMKkMGgbN+eQpNCzs7Joo526a3RerjCrJVd3Wb65lKR/+mxbzU JhEnoCV5ZKlvR9rXY5fNV//yhitPjKLVWYSrVzoAd8QXBmLjcundot3DWPlFYDLJdayV F2eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zofDri8k; 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 w8si5298813jaa.127.2021.09.13.06.20.46; Mon, 13 Sep 2021 06:20:58 -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=zofDri8k; 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 S240397AbhIMNUd (ORCPT + 99 others); Mon, 13 Sep 2021 09:20:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:34848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236172AbhIMNTt (ORCPT ); Mon, 13 Sep 2021 09:19:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 259CC61056; Mon, 13 Sep 2021 13:17:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539038; bh=p9oGff7QNXli9B7R8vsTxJXwJc9VYi0gSXVOSOJmym8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zofDri8koQEjHMxlPtYVw25X/UO8cKAdsQ+mK9QcXSRf6gaPywxhMxXklxDZgVbvc t3l3jePTQcnTMGiFEiWm7pt4UsUEz810Ig1eQRoWzLfUo7KOo2eS/uJeb31lCHlf0X DokqiPjVfR2GRxD6e+zZvojZg5Cn/eeEO36W6Ahg= 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.4 019/144] power: supply: max17042_battery: fix typo in MAx17042_TOFF Date: Mon, 13 Sep 2021 15:13:20 +0200 Message-Id: <20210913131048.599330381@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131047.974309396@linuxfoundation.org> References: <20210913131047.974309396@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 fa862f0380c4..ab4740c3bf57 100644 --- a/drivers/power/supply/max17042_battery.c +++ b/drivers/power/supply/max17042_battery.c @@ -726,7 +726,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 4badd5322949..2f9ff5017f12 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