Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3548529rwb; Sat, 12 Nov 2022 07:44:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UmbBz5a9sSIb2woArv9BasYm8Vl+1sAkqhhI7qGWV93QJlHgraAr2K3GVi+/laLFZRsZV X-Received: by 2002:aa7:c04b:0:b0:464:6206:62bb with SMTP id k11-20020aa7c04b000000b00464620662bbmr5849749edo.337.1668267843386; Sat, 12 Nov 2022 07:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668267843; cv=none; d=google.com; s=arc-20160816; b=aQImd0YnVQvnQkV3+o6+/dtOwfxontPK5QvhZAYEG0xzblT2eZLVnKor55ssbbV7y1 xe4BJebklg7clHsZ304ox1T5zHSokn55g+d+ssIPiwmTQ4SljtEuf33RNJSef/AzabBk LEMSYSwCgXyHNwUJMKqz9t4L/KPh5VZWejki0+Sh7inUpAYzqrZXLXXiRHHJUDKbyd8U Sd1xGE1bse54CBXi38l79mbvj8Z+p/p1bD7qCiz3juaFOuol+MNZ2OfIDK4tYoFcqO6r qgal5jT3YcGh+Cm7EB33YQJ1V8JIiUAK07Wf5pSneQavW3Oupj+/9wTsJO736VInP11h y3RQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rYG0lELIkcRCGP8jsgHL4HQoIjFGIvh4hrSttLYXXSA=; b=wy8m4dugIeK26uHMhN978VLrGaZy7hrzVrs4ylTO7VdhyaVm9u/HgkBd6r4CI4aWN1 l193n6+l1yJEBOcQWhkAkjSlhM5/AEF6rFOKzkRNVBC1NJ2q63KjQvdrAKISyYL1o8Gn vIQQPHrYCrVeNQrmIx3/++9bWqoKsslMg1sfHc+PAIZtcNmjoM5G2ll81bPIdSTcJShr moEQvMrUWkDqHzXeYPWtUBZt9cdBFgGdJQ+ekFmlunSlGS8f2dA+wG0LiqJvXIRm0ZwB JDjF23N6r5+Awh8xe7NCOoxbpSfTgW8v5wpjFOPglsI/3DN07pO/v5ImKKny7tBk8IIk XrxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eWLIQMsy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa38-20020a17090786a600b0077f3a9c58e2si4759082ejc.6.2022.11.12.07.43.40; Sat, 12 Nov 2022 07:44:03 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eWLIQMsy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235059AbiKLPUZ (ORCPT + 90 others); Sat, 12 Nov 2022 10:20:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234969AbiKLPT5 (ORCPT ); Sat, 12 Nov 2022 10:19:57 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7893C18E22 for ; Sat, 12 Nov 2022 07:19:47 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id t4so4525247wmj.5 for ; Sat, 12 Nov 2022 07:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rYG0lELIkcRCGP8jsgHL4HQoIjFGIvh4hrSttLYXXSA=; b=eWLIQMsyzKlZKoLwyJYvo9XYbHuX9uT7yE0YZ+4Z7WOpbke8Up9yi/V2ZrY7P8yH0G t57zawvnFxzUA22VM0ORJC5vwC8SMdRfdJSDVnckgh0RiNPh92Of50bx0cQ25CEqkLtH nCgZ6/Um7+wVRZZ8DJcJaqyG7WMSyUkYqJekvswfC/p4Nnmy/RoHuLcTIKPEiCwrJONt 2i53XZjfQND1gJLxyc0gHZ6vg6Wk5Cq1HykLJzLz4bRO+WpDtPxlxL74xNs8nSxdZWv+ x3QS4cefmujEW/XmHabAmy79aWC/NYFtZP8adgDqVOzqAjH/7vLXbl0GlcJp+Bk/NhBR WssA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rYG0lELIkcRCGP8jsgHL4HQoIjFGIvh4hrSttLYXXSA=; b=0Cr2f0bMN4vbbsxMYKZi1lbWEvSdTGjHCgHnEKHdpnzh4WHwK2+g23at3PWCIfAVjP lSV7HJrPR4XV8VMxDIEkmXrYM0Z56LEIYDPHBHildgHTEEAA0JNt+nBTYXc+b6MZvlS8 Ng6RBYbcW2qdaIHVW8dtBfIjDpNDyfXsHmRdnbiCg/IDABfSgnja3MZZiw2USVCtUd7J ntGHbOssM+ZIp1DGVsAo9Luxlf7zwapt5uhoScayqLRSBtdip1TA5dAI8L5a+EHEGZg5 jea+iQgRkg0zRD5jqnOsU+ki7WuK31IYTf6xIWWiyteDABi6CVGG1hlyajO2b68qUYWQ PtcQ== X-Gm-Message-State: ANoB5plqsnsPwROK+O3VnuHvwMZkXn/PY1P1IOH/cy3fYZrSUmAcCW23 lPcZ0c3izC+Ygqncoq7nC10= X-Received: by 2002:a05:600c:4fd0:b0:3cf:5bd9:68a1 with SMTP id o16-20020a05600c4fd000b003cf5bd968a1mr4325795wmq.113.1668266386084; Sat, 12 Nov 2022 07:19:46 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id bx32-20020a5d5b20000000b0023bb7e4b8b1sm4658536wrb.82.2022.11.12.07.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:45 -0800 (PST) From: Aidan MacDonald To: lee@kernel.org Cc: mani@kernel.org, cristian.ciocaltea@gmail.com, wens@csie.org, tharvey@gateworks.com, cw00.choi@samsung.com, krzysztof.kozlowski@linaro.org, brgl@bgdev.pl, mazziesaccount@gmail.com, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, jernej.skrabec@gmail.com, samuel@sholland.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 10/18] mfd: rohm-bd71828: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:27 +0000 Message-Id: <20221112151835.39059-11-aidanmacdonald.0x0@gmail.com> In-Reply-To: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> References: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Remove use of the deprecated mask_invert flag. Inverted mask registers (where a '1' bit enables an IRQ) can be described more directly as an unmask register. Signed-off-by: Aidan MacDonald --- drivers/mfd/rohm-bd71828.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c index 714d9fcbf07b..3c5c6c393650 100644 --- a/drivers/mfd/rohm-bd71828.c +++ b/drivers/mfd/rohm-bd71828.c @@ -413,9 +413,8 @@ static struct regmap_irq_chip bd71828_irq_chip = { .irqs = &bd71828_irqs[0], .num_irqs = ARRAY_SIZE(bd71828_irqs), .status_base = BD71828_REG_INT_BUCK, - .mask_base = BD71828_REG_INT_MASK_BUCK, + .unmask_base = BD71828_REG_INT_MASK_BUCK, .ack_base = BD71828_REG_INT_BUCK, - .mask_invert = true, .init_ack_masked = true, .num_regs = 12, .num_main_regs = 1, @@ -430,9 +429,8 @@ static struct regmap_irq_chip bd71815_irq_chip = { .irqs = &bd71815_irqs[0], .num_irqs = ARRAY_SIZE(bd71815_irqs), .status_base = BD71815_REG_INT_STAT_01, - .mask_base = BD71815_REG_INT_EN_01, + .unmask_base = BD71815_REG_INT_EN_01, .ack_base = BD71815_REG_INT_STAT_01, - .mask_invert = true, .init_ack_masked = true, .num_regs = 12, .num_main_regs = 1, -- 2.38.1