Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp990712lqh; Fri, 29 Mar 2024 03:57:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8xhjFoH+rV1SUWOkQDe0AugMSpDIKu/+Iq0K0kh3C3yxQyZD5cWtuTZ2FYwad0lLtuar5ksH18dL9siviqs0vbqHF2W8cKSh4phhtbg== X-Google-Smtp-Source: AGHT+IFdMb1CgpknxsT9GDe4qM8Cyej4IA/ZK/+gXeTLiJk0q73cirWRPV+ChjNhta9m1kEFaSeV X-Received: by 2002:a17:90b:4b08:b0:2a0:4f2c:573d with SMTP id lx8-20020a17090b4b0800b002a04f2c573dmr3225405pjb.19.1711709867022; Fri, 29 Mar 2024 03:57:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711709867; cv=pass; d=google.com; s=arc-20160816; b=SeVTYeIYRPXlks9FctJm2xIhkzQm88qc4QwvZDuYdJjisa6RHj14VeuBeQJc0NaV7H Co+QpNpTsV79ZwZYQzNFR2mA7pj6ArcXq0cSGCmfhiF9kSaxj/b1ZBM6k/CTtdquoiNU tyoQ8VJNvFp9/c4W91yUfq3G31PZ7ye0qVCcWQJrs+j5S18mdWNcbTe2QZWgk66OliO6 K2EjGt2rKubb2qxiedS6Zz4Q2R0PyDTYc28oKRcQ2RZN9TqTrHWazrwhPxGtjGqL1kgw yRZvikKeCPNUUadyZub3iDTxoFLzMTsBnUt3rcIZc922bnsOo1s77F+3waPlqDoI4MfI TK/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from; bh=aTTwNad/aYF810M34Re5CbC0i6sQ6LmYFJ45VHT6SUk=; fh=YgUZ2/lPRGLRG7A+awv03LUUmaPSy2eh3E767EmTYHs=; b=c1hFR6QxPqFuoQlZ5Rawgphr59MCL2c6rBzWKLUXmBx5TDEBJe5j4P+2oe/tpYFlLe 9kmNwc13OCxFmMNsgypktOKd2Saufco7rYlFSNTPi0QNokBdjsPSBhXZBoUpIXtHbde3 qDWrl3XOLd5kEw+r+9PgC6rwfSjaPT4pKXUI0VK3V6S3VJV2m8F8ud229fMGVKQW0jcG b+2ss906mMi5AW44xhDaOlKq+9idHjUXoR3l0NdUMR3VCuLJqvOA+bx+9cbBidBAeDV7 b85W2+M+I1OA3g7bmh2cXwDhTfcduK6Zv18WrM8eDISpEHDAac+cBXV1IpPsxMtiVynp XFPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124412-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gf3-20020a17090ac7c300b002a1fc7c5b68si3544802pjb.165.2024.03.29.03.57.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 03:57:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124412-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-124412-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124412-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AF6BC287E0D for ; Fri, 29 Mar 2024 10:57:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C6847EF0B; Fri, 29 Mar 2024 10:56:50 +0000 (UTC) Received: from fgw23-7.mail.saunalahti.fi (fgw23-7.mail.saunalahti.fi [62.142.5.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 75FD46A8C1 for ; Fri, 29 Mar 2024 10:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.84 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709809; cv=none; b=hm0Og2z54hb2YzjQkxi7WOdTVGG0XyiKji/DQbLrYw87yixv5VlKDxVawwBNLbcxxKiVsU0w20eMyM/C6EQUwOcGR2e3FReD7xPSzMlp/Of3s5fWQ2O4Yu3NPYW8INCpN0NSrNC0XpfX1Rttc00Z8E8zuk8XAbU2/yut3RrTal4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709809; c=relaxed/simple; bh=k82nFsDevwArKZdemO6rENI1k+BpJTfP0Xv1r08V0KM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Qr/ixDPe5QLX9E/PE9EUPWcpA9Y+R1NRaLitIVBG43l2j4JVTJZ0XiQ8vjwWrzrO/cKG1/DQnKXC4svBqAh/03gSNNNxszmpQTn+19X6PphF4unBvk4/2WzztoxqLx13HE2FxHvsXom9sKCCUBWMKFRoUcuuHyz9HkfEcNaV5DU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; arc=none smtp.client-ip=62.142.5.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=gmail.com Received: from localhost (88-113-26-217.elisa-laajakaista.fi [88.113.26.217]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id 08621d3e-edbb-11ee-b972-005056bdfda7; Fri, 29 Mar 2024 12:56:45 +0200 (EET) From: Andy Shevchenko To: Linus Walleij , Andy Shevchenko , AngeloGioacchino Del Regno , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/11] pinctrl: aw9523: Fix indentation in a few places Date: Fri, 29 Mar 2024 12:55:24 +0200 Message-ID: <20240329105634.712457-11-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240329105634.712457-1-andy.shevchenko@gmail.com> References: <20240329105634.712457-1-andy.shevchenko@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In the comment, function prototype, and array of strings indentation is kinda broken. Reindent that. Signed-off-by: Andy Shevchenko --- drivers/pinctrl/pinctrl-aw9523.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/pinctrl/pinctrl-aw9523.c b/drivers/pinctrl/pinctrl-aw9523.c index 49d5035899227..b5e1c467625ba 100644 --- a/drivers/pinctrl/pinctrl-aw9523.c +++ b/drivers/pinctrl/pinctrl-aw9523.c @@ -1,8 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* * Awinic AW9523B i2c pin controller driver - * Copyright (c) 2020, AngeloGioacchino Del Regno - * + * Copyright (c) 2020, AngeloGioacchino Del Regno */ #include @@ -139,9 +138,10 @@ static const struct pinctrl_ops aw9523_pinctrl_ops = { }; static const char * const gpio_pwm_groups[] = { - "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", - "gpio6", "gpio7", "gpio8", "gpio9", "gpio10", "gpio11", - "gpio12", "gpio13", "gpio14", "gpio15" + "gpio0", "gpio1", "gpio2", "gpio3", /* 0-3 */ + "gpio4", "gpio5", "gpio6", "gpio7", /* 4-7 */ + "gpio8", "gpio9", "gpio10", "gpio11", /* 8-11 */ + "gpio12", "gpio13", "gpio14", "gpio15", /* 11-15 */ }; /* Warning: Do NOT reorder this array */ @@ -388,8 +388,8 @@ static int aw9523_get_pin_direction(struct regmap *regmap, u8 pin, u8 n) * * Return: Zero for success or negative number for error */ -static int aw9523_get_port_state(struct regmap *regmap, u8 pin, - u8 regbit, unsigned int *state) +static int aw9523_get_port_state(struct regmap *regmap, u8 pin, u8 regbit, + unsigned int *state) { u8 reg; int dir; @@ -984,8 +984,7 @@ static int aw9523_probe(struct i2c_client *client) } mutex_init(&awi->i2c_lock); - lockdep_set_subclass(&awi->i2c_lock, - i2c_adapter_depth(client->adapter)); + lockdep_set_subclass(&awi->i2c_lock, i2c_adapter_depth(client->adapter)); pdesc = devm_kzalloc(dev, sizeof(*pdesc), GFP_KERNEL); if (!pdesc) -- 2.44.0