Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1670848ioo; Sun, 22 May 2022 23:49:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPcVSNw6QKLxF1dfBC0WZoucIb8p09FxJyeAVbR/opUEOw/Z06d/VnrTgegAyRWxkFdLmB X-Received: by 2002:a17:90b:1809:b0:1df:de43:e56 with SMTP id lw9-20020a17090b180900b001dfde430e56mr11952335pjb.135.1653288540384; Sun, 22 May 2022 23:49:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653288540; cv=pass; d=google.com; s=arc-20160816; b=yw/yPoR5sg0piLNNhkphGYXfe4De6YSRZqxpppRbVXmZP9KfLmJZ0iMufx6snmTnP/ fq20ccymJNkMGiymcwGlXW3XCAMFNOx0fYPGOYLSNY2oCqBWrRHfLVjdEuLKecb7K7la y1B5Q8Ubj2B6qi3tXmkzD49Stfjw1kdx1slKPpuHJpvd7D7FmgqG08CbsYdKbLGAA/mb W70c31hCR2cH0V8AIfFFvwhfeMOyNObaYI5X0puK5+Mt1PFS6/xSqexnegY1pufbEznN lLuCbxrOSlYOVPDFUqavHfr8KiwqI7JRJpJBP+IMS9vYXgPbFZconFiWBYrFI3RP50Pc NknQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:user-agent:importance :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:to:from:date:dkim-signature; bh=fvKlICVNUUrLCUJvTxodNTr2NlUW+NUhpKNpJF53DY0=; b=pJ9O+mjuMFwKIpvCl52GA27sTrYXRyuA2A+PQPz9lhLzWx+XoUu0ATRJB02dZshkSv VwqXF8XKfmWQl0wfxK1CF/71xBtRw/f4H9aXllQ7/JBawsotAUTX4AcJce36mdWyBtHm K2sJ4Eior8mm32Bdw5N7UVBKNkrnBu3P+66l/C46l1oTr4egF2bCoFs+jBovW0iu3sB5 eOu6b0Q36rAE5JFKIt8l7J5sFtu/pyEPA+Bv3z6UuXlQg+TAeF7lPXDnK3P2mUCD+FeO AprTDUoAOpl1/H8PFUtjufh/XexF1O10rCgFqhKkU5MsqOmuKvicHBF8P3CYH9LJVacs pmAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=AIchS6mY; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bk11-20020a056a02028b00b003f9e8c5dce7si11594636pgb.394.2022.05.22.23.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:49:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=AIchS6mY; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=zohomail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E43403EF17; Sun, 22 May 2022 23:18:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234209AbiEWC1D (ORCPT + 99 others); Sun, 22 May 2022 22:27:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbiEWC1A (ORCPT ); Sun, 22 May 2022 22:27:00 -0400 Received: from sender4-pp-o94.zoho.com (sender4-pp-o94.zoho.com [136.143.188.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55B7F3701F; Sun, 22 May 2022 19:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653272705; cv=none; d=zohomail.com; s=zohoarc; b=ZM2bRB0Sm5R9Qn3jURNOw/M6vzJzdqqj7EtQHiZMGRvWba/iAcd7RpDBdm1yiVPpOsNS7ixeuxk9z+/7x5SgkEaZ29842jEU+JBhtVztZ/AILFLkxZhB4+G9XLHt1W0M9KRjtDTktUPoFxnr7o18symJq56c/fVbtlS8M6yWIS8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653272705; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=fvKlICVNUUrLCUJvTxodNTr2NlUW+NUhpKNpJF53DY0=; b=Abz/pfqHHs0HJpgg3wVPJxOQ+E2xUJXMQsB4tnmCcOatGePV4kAkj59JiSkD8yrIdkcbb2W7YDOal1V+7Gfe6FFtINv0bulFcIk6mlF1yDpm6YO87Sh63SLju9xbMHBaQ3DMFPC3BMtl+fpq3f4DzTNIhRkbwM633oR6qa5m4b8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zohomail.com; spf=pass smtp.mailfrom=lchen.firstlove@zohomail.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1653272705; s=zm2022; d=zohomail.com; i=lchen.firstlove@zohomail.com; h=Date:Date:From:From:To:To:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID:Message-Id:Reply-To:Cc; bh=fvKlICVNUUrLCUJvTxodNTr2NlUW+NUhpKNpJF53DY0=; b=AIchS6mYj8eWSd7yuCQA0wuAkIRFA8RhIN8kHPhghsowiuzQ3MnzwcDR2N4oLdHA Uqktm/hfqSOL+r3QZaO0cPG2bK44cBmg0yDEgOMtIjLS6+t8yV8r3k/h3YU8spurLJ2 hZe6apS90PDQe3IHvSTqcYAKXInYxYLxgYbQ8vTQ= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1653272703637648.493441998478; Sun, 22 May 2022 19:25:03 -0700 (PDT) Received: from [45.12.140.94] by mail.zoho.com with HTTP;Sun, 22 May 2022 19:25:03 -0700 (PDT) Date: Sun, 22 May 2022 19:25:03 -0700 From: Li Chen To: "Mark Brown" , "linux-kernel" , "Greg Kroah-Hartman" , "Rafael J. Wysocki" , "linux-gpio" , "Linus Walleij" , "linux-arm-kernel" , "Patrice Chotard" , "linux-sunxi" , "Liam Girdwood" , "Jaroslav Kysela" , "Takashi Iwai" , "Chen-Yu Tsai" , "Jernej Skrabec" , "Samuel Holland" , "Philipp Zabel" Message-ID: <180eebb727d.10ba4638860182.6950312744013746736@zohomail.com> In-Reply-To: <180eeb93909.12110e2de60158.391061173597432851@zohomail.com> References: <180e702a15f.e737e37e45859.3135149506136486394@zohomail.com> <180eeb93909.12110e2de60158.391061173597432851@zohomail.com> Subject: [PATCH v2 3/4] pinctrl: bcm: Use regmap_field_{set/clear}_bits helpers MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Feedback-ID: rr08011226ae110814a09a362c48165f4b00008eeb45bd2d65ef2780937ee6d60290f1710ab925d2423565:zu080112270d8d662acbbc0476a95403a2000082419318e6a1ec3c617ddd389efafd29a4813f34251e63ea0b:rf0801122cbe7ad45308199e6fd2fea2fe000042cc5f54ab3e442d95be0447b400bf129d594f38055bd1c8a6ec2e5a166d:ZohoMail X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Li Chen Appropriately change calls to regmap_field_update_bits() with regmap_field_clear_bits() for improved readability. Signed-off-by: Li Chen --- drivers/pinctrl/bcm/pinctrl-bcm6358.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm6358.c b/drivers/pinctrl/bcm/pinctrl-bcm6358.c index 9f6cd7447887..b03dfcb171d1 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm6358.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm6358.c @@ -300,7 +300,7 @@ static int bcm6358_gpio_request_enable(struct pinctrl_dev *pctldev, return 0; /* disable all functions using this pin */ - return regmap_field_update_bits(priv->overlays, mask, 0); + return regmap_field_clear_bits(priv->overlays, mask); } static const struct pinctrl_ops bcm6358_pctl_ops = { -- 2.36.1