Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8370476pxb; Fri, 19 Feb 2021 14:42:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZ5110y+O4hqqkHc/5FoGHHDoNo07Sfp8QIemJ44HiUe1emmSysC5cPDC9YRruwariPElw X-Received: by 2002:a05:6402:94d:: with SMTP id h13mr11783518edz.19.1613774552701; Fri, 19 Feb 2021 14:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613774552; cv=none; d=google.com; s=arc-20160816; b=SdMgcXUzwIwCnXnR9B4mrBDbjZhPTReYH971k/6JSmC7nwU1te0T5HcdS5pnAkncTv N0keNpWbOhY4yfJNUhTtNys/nvegSRP+kGqBVjaNgLYQVsGmUASKP+EXNFXEIJCECzOw GdLpoKnG2MdRnp37EMxLBNSAsDwcBaKQ+pUjaJzroyZrOEBxvZyCBUvrpln+5gNsG5C0 WEackAQzjPEXxsR8xT5AyeFIbcdumKw27Ux5jwWfDW+9TqCi9CVCK6jbiAvBCWLX7oTA 6KDUhkfnErxUuRRKHPtPQKjE/N7hf0I0wnKGaEZ/7/n0jFNp0cD0ebKyANCM7QN2NyUc 6TrA== 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 :message-id:date:subject:cc:to:from; bh=txY/bpkWGgxFtC26+M7i/aZUH86GAOerUAN6Sgc7YzM=; b=wM6xH0wXtibEK4ec8JSsPiS7nAMHNB7sETl33zk61eOrzM+AH1GC/rAtVnyEy5+Smd 6NmY77pAzvkFwQNnHHnMAEEZDJ3M5ZJ9eOBLIthYtnsBSrzYdefTQa2BIO6lwdmmKdQ+ GNvydxYOzULkGqLRR2G1VqkFyyFbvpckKYljrou2b21TB5mTyaT2ELsI6J3e/EAIfCtD iTOF5pE8c6bs0KJOg/PQDO4DZoPqFDj7nncX1vbPFs3qdDtimSViFhqHRyercYyv0L5h iK0aGESuyoeNCCvj9cWwlH43j/QJtVxfaYdvgEWlGGwrvpHGpyeUMkX7ehBV0d4P061M fzsg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si5851101ejp.5.2021.02.19.14.41.53; Fri, 19 Feb 2021 14:42:32 -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; 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 S229725AbhBSWkM (ORCPT + 99 others); Fri, 19 Feb 2021 17:40:12 -0500 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:59827 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbhBSWkE (ORCPT ); Fri, 19 Feb 2021 17:40:04 -0500 Received: from [77.244.183.192] (port=64500 helo=melee.fritz.box) by hostingweb31.netsons.net with esmtpa (Exim 4.93) (envelope-from ) id 1lDEQi-009zHK-65; Fri, 19 Feb 2021 23:39:20 +0100 From: Luca Ceresoli To: Lee Jones Cc: Luca Ceresoli , Linus Walleij , Bartosz Golaszewski , Liam Girdwood , Mark Brown , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] mfd: lp87565: fix typo in define names Date: Fri, 19 Feb 2021 23:39:08 +0100 Message-Id: <20210219223910.1831-1-luca@lucaceresoli.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "GOIO" should be "GPIO" here. Signed-off-by: Luca Ceresoli --- drivers/gpio/gpio-lp87565.c | 6 +++--- include/linux/mfd/lp87565.h | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/gpio/gpio-lp87565.c b/drivers/gpio/gpio-lp87565.c index e1244520cf7d..fcde6708b5df 100644 --- a/drivers/gpio/gpio-lp87565.c +++ b/drivers/gpio/gpio-lp87565.c @@ -123,14 +123,14 @@ static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, return regmap_update_bits(gpio->map, LP87565_REG_GPIO_CONFIG, BIT(offset + - __ffs(LP87565_GOIO1_OD)), + __ffs(LP87565_GPIO1_OD)), BIT(offset + - __ffs(LP87565_GOIO1_OD))); + __ffs(LP87565_GPIO1_OD))); case PIN_CONFIG_DRIVE_PUSH_PULL: return regmap_update_bits(gpio->map, LP87565_REG_GPIO_CONFIG, BIT(offset + - __ffs(LP87565_GOIO1_OD)), 0); + __ffs(LP87565_GPIO1_OD)), 0); default: return -ENOTSUPP; } diff --git a/include/linux/mfd/lp87565.h b/include/linux/mfd/lp87565.h index d44ddfb6bb63..2620554f357a 100644 --- a/include/linux/mfd/lp87565.h +++ b/include/linux/mfd/lp87565.h @@ -222,20 +222,20 @@ enum lp87565_device_type { #define LP87565_GPIO2_SEL BIT(1) #define LP87565_GPIO1_SEL BIT(0) -#define LP87565_GOIO3_OD BIT(6) -#define LP87565_GOIO2_OD BIT(5) -#define LP87565_GOIO1_OD BIT(4) -#define LP87565_GOIO3_DIR BIT(2) -#define LP87565_GOIO2_DIR BIT(1) -#define LP87565_GOIO1_DIR BIT(0) - -#define LP87565_GOIO3_IN BIT(2) -#define LP87565_GOIO2_IN BIT(1) -#define LP87565_GOIO1_IN BIT(0) - -#define LP87565_GOIO3_OUT BIT(2) -#define LP87565_GOIO2_OUT BIT(1) -#define LP87565_GOIO1_OUT BIT(0) +#define LP87565_GPIO3_OD BIT(6) +#define LP87565_GPIO2_OD BIT(5) +#define LP87565_GPIO1_OD BIT(4) +#define LP87565_GPIO3_DIR BIT(2) +#define LP87565_GPIO2_DIR BIT(1) +#define LP87565_GPIO1_DIR BIT(0) + +#define LP87565_GPIO3_IN BIT(2) +#define LP87565_GPIO2_IN BIT(1) +#define LP87565_GPIO1_IN BIT(0) + +#define LP87565_GPIO3_OUT BIT(2) +#define LP87565_GPIO2_OUT BIT(1) +#define LP87565_GPIO1_OUT BIT(0) /* Number of step-down converters available */ #define LP87565_NUM_BUCK 6 -- 2.30.0