Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1009106imi; Fri, 1 Jul 2022 00:36:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uakTFE9RSvVOfCife2SfQhbF8nfxLGp+0ijr+AGOOUGsifqFOaVt65ACaznEkixXRYE44p X-Received: by 2002:a17:90b:1210:b0:1ea:ee10:c823 with SMTP id gl16-20020a17090b121000b001eaee10c823mr16786837pjb.109.1656660987800; Fri, 01 Jul 2022 00:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656660987; cv=none; d=google.com; s=arc-20160816; b=mylqAJvxbz/UIidiLIyIljNtjG3GXsNCcrq5BPr0ohUpn7CzL6SHt2Imdya5vbv/OC S00IVNjRp+EEcTD4x5r2+TbxI7o06S2pzI8VLDbUBzio8T4QF9QHP++IoHj0AaMqqLTw Qg9PU+eAFidDp35+IGsR1xqKVNGyXJoQOFeXfUfctgIlYCKZhQhHjtYF4OcN1y1SnfuF 5vbTLAJmyGUs32L/dK5vtPxcso/lq7oBpApD/uyHFu1QhrPb7ThCbPDjUpxvwr8JCmU3 s3DNKhEUzYDAYb3Z+DIQPsLfnaG/JdwZK341P8dGKQ5YAguefpldASiPPtl1moL8h61/ xd6w== 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=p6A2zive7UKl3t8KOvX699jmmL07MH0GCc+uMW2fzkM=; b=GHxhWRUdrOVtjgZprRRyvc92nkqctdCILTAIkh0/d4dN4Ok5rUS8qtYVTyewHxEG77 md+iIIErK+V+YE05lCw1RoOPckQV+E6KE+LtspvwiINgn2zZ+8P5IUIy6eXkUHkaf2/U Z51BlG74PLYAYQ8+KXwN8d1KQ7lAnVuVRG8dZTdX6OkB5cTEtfdYMZ4E0oDt5PJSq4PQ GiwayTwGUMdRlj4DSeNoHghCkmNMxZLkfnp6Ctn5bbDrkaE8fzENJGXzsjG3tSVbGbjd Jyz1qEbI1HhJS6mjGHhQUuneuu3H5R/Z+oBcxUa7/NqGnzEfqa8MAEmlrMwFOxLiwuZY +yvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020a056a00179800b0052546400216si34002346pfg.306.2022.07.01.00.36.16; Fri, 01 Jul 2022 00:36:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235076AbiGAHay (ORCPT + 99 others); Fri, 1 Jul 2022 03:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230523AbiGAHav (ORCPT ); Fri, 1 Jul 2022 03:30:51 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1DC96B83D for ; Fri, 1 Jul 2022 00:30:50 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VI-7jtq_1656660640; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VI-7jtq_1656660640) by smtp.aliyun-inc.com; Fri, 01 Jul 2022 15:30:47 +0800 From: Jiapeng Chong To: lgirdwood@gmail.com Cc: broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] ASoC: codecs: max98088: Clean up some inconsistent indenting Date: Fri, 1 Jul 2022 15:30:39 +0800 Message-Id: <20220701073039.64556-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was found by coccicheck: sound/soc/codecs/max98088.c:1761 max98088_i2c_probe() warn: inconsistent indenting. Signed-off-by: Jiapeng Chong --- sound/soc/codecs/max98088.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index 08e5c606ff27..5435a49604cf 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c @@ -1745,18 +1745,18 @@ MODULE_DEVICE_TABLE(i2c, max98088_i2c_id); static int max98088_i2c_probe(struct i2c_client *i2c) { - struct max98088_priv *max98088; - int ret; - const struct i2c_device_id *id; + struct max98088_priv *max98088; + int ret; + const struct i2c_device_id *id; - max98088 = devm_kzalloc(&i2c->dev, sizeof(struct max98088_priv), - GFP_KERNEL); - if (max98088 == NULL) - return -ENOMEM; + max98088 = devm_kzalloc(&i2c->dev, sizeof(struct max98088_priv), + GFP_KERNEL); + if (max98088 == NULL) + return -ENOMEM; - max98088->regmap = devm_regmap_init_i2c(i2c, &max98088_regmap); - if (IS_ERR(max98088->regmap)) - return PTR_ERR(max98088->regmap); + max98088->regmap = devm_regmap_init_i2c(i2c, &max98088_regmap); + if (IS_ERR(max98088->regmap)) + return PTR_ERR(max98088->regmap); max98088->mclk = devm_clk_get(&i2c->dev, "mclk"); if (IS_ERR(max98088->mclk)) @@ -1764,14 +1764,14 @@ static int max98088_i2c_probe(struct i2c_client *i2c) return PTR_ERR(max98088->mclk); id = i2c_match_id(max98088_i2c_id, i2c); - max98088->devtype = id->driver_data; + max98088->devtype = id->driver_data; - i2c_set_clientdata(i2c, max98088); - max98088->pdata = i2c->dev.platform_data; + i2c_set_clientdata(i2c, max98088); + max98088->pdata = i2c->dev.platform_data; - ret = devm_snd_soc_register_component(&i2c->dev, - &soc_component_dev_max98088, &max98088_dai[0], 2); - return ret; + ret = devm_snd_soc_register_component(&i2c->dev, &soc_component_dev_max98088, + &max98088_dai[0], 2); + return ret; } #if defined(CONFIG_OF) -- 2.20.1.7.g153144c