Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1319183pxu; Fri, 27 Nov 2020 04:56:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzisoTCLUWaOLH0je0CnZNJjtsFqmY59Nsslgc+pmDn+NdPCr18828ZRXpHnGW1LxmxLw76 X-Received: by 2002:a05:6402:1243:: with SMTP id l3mr7453591edw.151.1606481778042; Fri, 27 Nov 2020 04:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606481778; cv=none; d=google.com; s=arc-20160816; b=OYODPvyy0dLyT79Nt7iGDRz7dDig0un59sB9hqzc1Ivkp8e/deaz6FRjnbIIdrgiql cwrTavVlltz9LnakWZgJhPk2T2wcEQgEN2GTQeps7fiaOQ0MzYP9EEw20XCnRrEPZ+1W HFa9SuiPu6Se15QkACAJYjNZcpykZwD22v8pGh0StSLCKp7AbK/migZiIfo/vkNHv+0m 1QsG0RH44e5VLN/2JFagHYUrJCWZP9K9gj89WkDM6UNqCc5zlTNEkrDEGh/VZgpQJ08W cjjEnxavQSwlq0R2Bv5Zwv7XUCuWlSR7PQ6JCDQdJwLmiHxP2uwJwjMLL5BbBxQZht1B M/4A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LRj+arvWbNcXJ39Wa8vMrS3smx7S5J/b8+NMY5zufsk=; b=prd2hIgrouemUSugoA6nKYewPUrZHpLtRK1lcXdeMl1Txc6vLT+7Fr2tscQKVsumqO eht1Z8UT46sgcP00ri9IiI2LWGs7JAIWI7zqjsd81Zy1mNTxJHOXM6rIfjV9c3eC6CLn OAtynUnaUw1O/kOHK0c517crGmu/3rkvCDzZGvzarY5aBddfLHpimloL73h7ObOarYGr WraEsHdfQsncHj8qDDWiI4/rAYect7RTWQ4PBNmyuTuFqYvbr8Wgvr+MFTRLCBs7m8B8 dwT8P383VmfKrbEWfN17N2iIutwYIT8KDz1wiAaA3hSeekwkqsQ/V3e92gEyCidzkKEv sxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fossekall.de header.s=strato-dkim-0002 header.b=Jv7FwJ5P; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si3040257eja.188.2020.11.27.04.55.55; Fri, 27 Nov 2020 04:56:18 -0800 (PST) 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=@fossekall.de header.s=strato-dkim-0002 header.b=Jv7FwJ5P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729425AbgK0Mwu (ORCPT + 99 others); Fri, 27 Nov 2020 07:52:50 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.52]:26679 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727859AbgK0Mwu (ORCPT ); Fri, 27 Nov 2020 07:52:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606481568; s=strato-dkim-0002; d=fossekall.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=LRj+arvWbNcXJ39Wa8vMrS3smx7S5J/b8+NMY5zufsk=; b=Jv7FwJ5P88CxuEdMb+wTfgAMXS63CCElWOEY91r5KvUjmdQIl8wRt5/R/921Z+xWtC gHdTlAxLNME5z6Ukblu63X972W2WggYFWJARnD6yr8HmTaLr024u/etoQvGkoTN0IiDP WkfnJu28nY74KQDQVz3ZhQRo3G80mUNOw5q8buHJsS0AxYzA+1WAJyzTupEUPDT8v1+w lbTjExPD9MFybn/TiWY8XWgBVWJRUXOsom4srF98ilk84EZO2+SNhDZlV2nPY8WCEt4e TSiYkURxlcwgxuajFYecGZ63Nar6gFH3pQD7hgEAu03SK4yiFvzaNPzPU2fz2z3k2gpp qWLg== X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.3.4 AUTH) with ESMTPSA id g02087wARCqiaJa (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 27 Nov 2020 13:52:44 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1kidEu-0003pJ-FJ; Fri, 27 Nov 2020 13:52:40 +0100 Received: (nullmailer pid 23980 invoked by uid 502); Fri, 27 Nov 2020 12:52:40 -0000 From: Michael Klein To: Andrei Stefanescu , Liam Girdwood , Mark Brown , Rob Herring , Support Opensource , Lee Jones Cc: linux-kernel@vger.kernel.org, trivial@kernel.org, Michael Klein Subject: [PATCH v2 3/3] mfd: da9055: fix "REGULATOR" spelling in register content macro Date: Fri, 27 Nov 2020 13:52:02 +0100 Message-Id: <20201127125202.23917-3-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201127125202.23917-1-michael@fossekall.de> References: <20201127093142.GP2455276@dell> <20201127125202.23917-1-michael@fossekall.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "REGUALTOR" -> "REGULATOR" Signed-off-by: Michael Klein --- Changes in v2: - split patch - make subject line more forthcoming drivers/regulator/da9055-regulator.c | 4 ++-- include/linux/mfd/da9055/reg.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index 73ff5fc7d8d7..c0394ac5e60a 100644 --- a/drivers/regulator/da9055-regulator.c +++ b/drivers/regulator/da9055-regulator.c @@ -184,7 +184,7 @@ static int da9055_regulator_get_voltage_sel(struct regulator_dev *rdev) ret &= info->conf.sel_mask; /* Get the voltage for the active register set A/B */ - if (ret == DA9055_REGUALTOR_SET_A) + if (ret == DA9055_REGULATOR_SET_A) ret = da9055_reg_read(regulator->da9055, volt.reg_a); else ret = da9055_reg_read(regulator->da9055, volt.reg_b); @@ -231,7 +231,7 @@ static int da9055_regulator_set_voltage_sel(struct regulator_dev *rdev, ret &= info->conf.sel_mask; /* Set the voltage */ - if (ret == DA9055_REGUALTOR_SET_A) + if (ret == DA9055_REGULATOR_SET_A) return da9055_reg_update(regulator->da9055, info->volt.reg_a, info->volt.v_mask, selector); else diff --git a/include/linux/mfd/da9055/reg.h b/include/linux/mfd/da9055/reg.h index 54a717b6c3de..1204e6b152d5 100644 --- a/include/linux/mfd/da9055/reg.h +++ b/include/linux/mfd/da9055/reg.h @@ -344,8 +344,8 @@ #define DA9055_VLDO_GPI_MASK 0x60 #define DA9055_LDO_CONF_SHIFT 0x07 #define DA9055_LDO_CONF_MASK 0x80 -#define DA9055_REGUALTOR_SET_A 0x00 -#define DA9055_REGUALTOR_SET_B 0x10 +#define DA9055_REGULATOR_SET_A 0x00 +#define DA9055_REGULATOR_SET_B 0x10 /* DA9055_REG_ADC_MAN (addr=0x1B) */ #define DA9055_ADC_MUX_SHIFT 0 -- 2.29.2