Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp68400lqk; Wed, 13 Mar 2024 16:56:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVH1eYxKHGSy3mwyDnEo+yZ098QL0LJBrf/J6CuVI7Ae1DPCHOmiG6FXFMYDk9PaZtiEqyoPej7KI8E0f4P82isMRba5Z9xBeYVz6r4iw== X-Google-Smtp-Source: AGHT+IHaQftDTcBV2/D5Prs+1hg+Tw8fr6iit49tDEvOVltud9Jq2NbuaZN0fAF6exQY/eAQqmdz X-Received: by 2002:a05:6870:7250:b0:21f:d4ee:ae01 with SMTP id y16-20020a056870725000b0021fd4eeae01mr360255oaf.18.1710374175027; Wed, 13 Mar 2024 16:56:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710374174; cv=pass; d=google.com; s=arc-20160816; b=b/w/Z0v+JDefUbjnF0qx08KPXUxlukBzMBbZ+p+bEouYrFPkz+SC8cbAdcEXrAme/q TKFsZF/zxB/YVWzREfYWgHFIwoWcT11Qy/lXtUJT0F3SBZJxVZaEfElaWdz8WaK0T4Wf ZAKRoMu7rNUx3M7lRXc983h2gIk9LK+VJFgU+7tVaqD2X/rIf3tjiWR8U+WRmU7tNuGD omWVyoZlp8dlFs9DZZ1P1ryuxPFPtWVbqsXEEyOMrW/VilrX78Zh5l8EACgBqu6J4DoU LX2c3pSw0Usfc9vJRhp+D+r4agBnqSRH5Mt5KYDl9tLZILAjbRWc/HCEhSWKKgJ0/t3a oYPg== 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=q0yXxkoGAtcGw0NvSmCaXG3BQJnBD0urb2CG+Uwi2xw=; fh=YgUZ2/lPRGLRG7A+awv03LUUmaPSy2eh3E767EmTYHs=; b=sz3b7SsSlOKUOfio7TEuIofYrVlkz2ngcZ4huxoM7hM3gy2Q4YFbRx4/UfIPqYK+yB P6lH/7JoGfghAkt1JGcEiZ74V0c3DEIzOKf4WtYqvJ/+HFnuIXuI28f4wfc+8DMMs3IF fjoE1SBf5cOD+XV4S48mRKVnTiLbJwQT0lD/wBB+qas5msaj2uTtVYTzcABA3WGm2eFn RpSK8vAa8lhFm0/T3/DLqn9p2gA2+tIVjfGrIhdVbH59a0qmyxQwmD41LHupJ2WS4qxF VqaVqI2UX7ONikRWcqw98YVXQL9Jwj+rHVcnL3c7xjDpOn3U2sFnTbJz9ZShgBx04DTM kIRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-102660-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102660-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 k11-20020a63d10b000000b005e428bef548si336516pgg.649.2024.03.13.16.56.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 16:56:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102660-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-102660-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102660-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 AC422282367 for ; Wed, 13 Mar 2024 23:56:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B27C9604B4; Wed, 13 Mar 2024 23:54:40 +0000 (UTC) Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) (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 86BA65F546 for ; Wed, 13 Mar 2024 23:54:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.142.5.82 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710374080; cv=none; b=la9NksIeAIfGt2A04lo6x3fKK0AvD3fjS2Yiaer2z5Mli6Z6EsfKtYEjv0xI8qE5KbL6jWz3Ve3abzh1nQfG/NuIryy9QcWL1gbjJENb6jSbn4f1EmnFoasBZpwimqC+F6oe6DHVKC6H31Y9kDuk8qdwfnh3SBKJhfSc8Mf1J34= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710374080; c=relaxed/simple; bh=zeBdlgwqgx5wxRWTKXs76tXPrMlAR3YEbWfVlts1pHk=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HXFQyoM49LUy7p18O1amzQcSyuD5NdBhQAuouHgxgebBZRzgrXy3E4q7T1mhHH1b/x1Wd8AgYThtan8nBwDg/g7yVmjj+ha6margcsnOMZ/es06gUv0YSIGY+P3yuEfCF3NRMiL1KgBnQlyaEDXltUaGVoEha4edj8GBXvUDXt0= 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.82 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 fgw21.mail.saunalahti.fi (Halon) with ESMTP id 0b3b6ec2-e195-11ee-abf4-005056bdd08f; Thu, 14 Mar 2024 01:54:35 +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 v1 10/11] pinctrl: aw9523: Fix indentation in a few places Date: Thu, 14 Mar 2024 01:52:13 +0200 Message-ID: <20240313235422.180075-11-andy.shevchenko@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240313235422.180075-1-andy.shevchenko@gmail.com> References: <20240313235422.180075-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 50e2a94f59892..7299b5bb6d52f 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