Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1647347ioo; Sun, 22 May 2022 22:55:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS4Z2P76D6dY5xMpvamBEZeJ5WqUY8vhkvO+6mNNp0MAz6z18Ii76mhtJPJ003pePHoN8O X-Received: by 2002:a05:6a00:711:b0:4fa:daf1:94c1 with SMTP id 17-20020a056a00071100b004fadaf194c1mr22130722pfl.52.1653285335280; Sun, 22 May 2022 22:55:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653285335; cv=pass; d=google.com; s=arc-20160816; b=K3f9OSP9sr3g0J025i2ONXUHAG0QhE5OyqG7KgPfZSzfLzaVM5LmSqj3jDHlrpTyvZ toTAubah44MTYSlotg5UdJDIGvUA+UO3GETqpXCFuhAYZuHdP6GqaTb+DPpBTcd+SN2p aj4xRA3lbp6ir9FET4svXFJYM5G8EolWj8UDX+B4I6erNyTacHqQZQJ3TrZ8LTgxjL5s xsKlIPjogwQZoUWAByo2Foj0sP+09NtF8eGIahfTJOjyqPRKmIe1ypo4B9QnpeWTZcGF 2lqd/EAWj5YP18ZJJsFWYDS+Cyaq7p1Gw79nzF77uGnEE5hXbV/+7F4Hm9MCJ1i1rsga 5CJQ== 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=stt/NErlh7eMAOr70naHfhosQCLM+GeVGCdHpCgaXw4T1Ir46cBchszxOM5kepReOg ZqlUPst/9xqXJUr59vSD4cecqme2jmTynyoEpfsV7zlysL9Xcwb0e1GFPzPlT3IumOpT tow8jkLCRuwiKq84AOxReVLpGtUa1XYE4UYQDTAeU2vtSxiZ1IR2KB+jqr+sD0XtYIf1 +ZD1rqGlgKZoT4anH36jmRGz2z4cwOhoTcgdovboZ8/YGOUD0eQ9MtkfVYdtEmQFCfaA pEYPHewKe0wezHHY4ETmt078hY0+cI14Rd4Fozt2zSinQPZk/eudujXvfaSU3hVzyVyT HObw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=PbDLyZII; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id v8-20020a17090331c800b0015d1a662ad2si7372619ple.241.2022.05.22.22.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 22:55:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@zohomail.com header.s=zm2022 header.b=PbDLyZII; arc=pass (i=1 spf=pass spfdomain=zohomail.com dkim=pass dkdomain=zohomail.com dmarc=pass fromdomain=zohomail.com>); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 BE058BE24; Sun, 22 May 2022 22:51:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346902AbiEUO3v (ORCPT + 99 others); Sat, 21 May 2022 10:29:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235561AbiEUO3s (ORCPT ); Sat, 21 May 2022 10:29:48 -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 51360986F9; Sat, 21 May 2022 07:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653143316; cv=none; d=zohomail.com; s=zohoarc; b=H0WwP6DT5FRxWXZZoHBb2zu15fj5oVAkZWaY7krYxuFPoH33cKff/0pa+Ov3DrNbNDsbM6ija6+FzUjg9B5eqQt/1Ph9cKi7Rlk/2iDANH6BOEHc3H9G7i2GALBDwHbJlhkgU14lvQ/ZB7fifVaFzXNap0sriuREbt80yyM5Ja4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1653143316; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=fvKlICVNUUrLCUJvTxodNTr2NlUW+NUhpKNpJF53DY0=; b=alaes17ZDjTkex7WiZ/M17Ha7ufsc4onDumzuGLrlPPmeeCwwok8X8qxJ2sR1Zw3RVMU5sOS25pYehkTKepPFdc8LaFD7+1mFxEh8dnUzBe/C4wcAIoKZIQxpadmkFEpUl4kwSHL1pDTfSrYBiOI/5FU7BglhUIeVcig0cPg+4Y= 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=1653143316; 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=PbDLyZIIPk5iiT9nClJsNtMFERjCdQJViOFBT+CPRmv4DfSzmM4cTZCTMyHmaYqd Ohkt8O5ixFtXPszO6dwRx6RHlXTDQc38CkmD9baSxbKv7+Cb5tySB9AMRe6W67g94rd Z4eX6S29mkmGtc+gnMdSxAes6iECbdzbIqRQVvnM= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1653143315853446.0560187060004; Sat, 21 May 2022 07:28:35 -0700 (PDT) Received: from [45.12.140.94] by mail.zoho.com with HTTP;Sat, 21 May 2022 07:28:35 -0700 (PDT) Date: Sat, 21 May 2022 07:28:35 -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: <180e7052574.1144f2ff745882.256639936280011408@zohomail.com> In-Reply-To: <180e702a15f.e737e37e45859.3135149506136486394@zohomail.com> References: <180e702a15f.e737e37e45859.3135149506136486394@zohomail.com> Subject: [PATCH 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: rr08011226cce64127a18241e0b697cc370000a880a5bcfbb0056f95fd6a6c9044b7692dad714f4d52b49d:zu080112271849dd534324e028c72397fc0000e49e3d3ef24f687a23260274b906d374f69042e7b13707974e:rf0801122c246438a076f98930abc3b8280000a6b432ce715950e8973f8024087e02d36c4a8c3b14ef69ca6f86194cca7f: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