Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3567135rwb; Sat, 12 Nov 2022 08:05:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf7uH+W2yZD6sy/smihc4bH6rSheKyo4AoL8inexM7XyDN0+5/Mt1qiqCIuEllId3gyguuby X-Received: by 2002:a05:6402:3cd:b0:458:e9c0:3e6f with SMTP id t13-20020a05640203cd00b00458e9c03e6fmr5858603edw.61.1668269139534; Sat, 12 Nov 2022 08:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668269139; cv=none; d=google.com; s=arc-20160816; b=DktP2wCzNn6ChtWEmage+rOU4hG/aiyicwpfvTODMrODId9dGQp0Dc+IeWEztBd6SF 0/lZOk/tmiD4F+Ji3vgjrHVY4yehDcuiXtTfdrrLyEzsYHCjfuSHe/jb5+yqb1ggCVqZ GgcJiSgShXP7/Bg8bcNmuEI9fGSQ+ZAhlTzEkaIs4qIf8XAsZxmgBbaaIiF0TUUHT9M3 vfa77thusbdpKCgFHeLMsvGSC9jHRMq07aDdCINFMXNg83Ydkt9JwPX/jC3OG3NPfB8P t2J+Orh6yBED7ZqCbu01aK/JB8zi3V87+Hvj+90ug+5k6c+FNnkQJ6bNUVnzykI3H5Ef we1Q== 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=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=NXLAvJGucDxHbzLyMhfdY+EomBI/7z95J5sKvUVjtQ1UlROLd433rE85qjBrWqVv6/ WMpuaLz2tWvZimHWsLACbGSc7vzvw1n8nqJkjC5jihhRNP6n0459fTADf+uo2ft0kFrS JWkgI7eDgRgV1VUMZWpGx+o9bEYzHICOii7tUdWhtAlM3VWgqgoxuOsRSOCxMTk5NpwC k/PVXO3Kvq1wYWzb2HwCZ2lEt+BBSuXf9/06s/zQCRW6IeLEA4rafBbiYxhRzeVw97ro EzidNuBtsl9Oe//FtukEII8nri/MPCt2lmutvDk/jhtyNdnQN0tVFVYrrEIGhs0wpvKG Zt+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="bb8Q/XHU"; 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 m22-20020a056402051600b0046453c36c4csi4233969edv.513.2022.11.12.08.05.17; Sat, 12 Nov 2022 08:05:39 -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="bb8Q/XHU"; 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 S234996AbiKLPUK (ORCPT + 90 others); Sat, 12 Nov 2022 10:20:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234888AbiKLPTn (ORCPT ); Sat, 12 Nov 2022 10:19:43 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3832FAFD for ; Sat, 12 Nov 2022 07:19:41 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id p16so4520778wmc.3 for ; Sat, 12 Nov 2022 07:19:41 -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=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=bb8Q/XHUIDCawlWjNkou8fyhAYQXwgoCWxuU2nSEBkYbxc11DdPvSJfIH4H9OT7Yzq G7taxhDewqonLeJPieV4nxA/eAMT1VL5uPvNHgnvZoZRnrl07bDXYySWDnx3CJtKtfhc c7WRNGwipiESSbwsKdnVpm+WRl7PmXWkjeJ1n/bfIzn1/So0onOpJuis1E4lW8cXf0Wi 0qEyQOe2qUhhHXi5y54DLwkW3Vwd1nyC491YlpyMxdWjUz9zNhVUjoDDPfXpRl4kpXY7 bajqLkBRLFMYAy2E9LzJ1AtRNAqvMEeneMKONHu40T1kqvMtUxubUnp9lNBOpZy0QWOU rJ9A== 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=SyNGlKcyBDF0YXtdVE2Mo7IFCo+00jQ8YxUzSjoXa50=; b=FvdrgPE5KChDecXE69SZ67R5OKjY5D+NZPTvpf2wVVx6aFp46Hz9Bd0iYU61etGj0M wJpJoyGaDcgn84gEfgM1HLkVE8FVo32fcEJhSXRxP4FEGkMiP4lu1jiEXBz2JOvNCtmG n6qTBWlbSI4LjZcAzOhKKIZVYD+cVCWdl/enVc7FwgBJO59FCHGnLL79hTOvMIbEar4u LigT/XhN1BOTaOE9Z5wCvUnvwezVXXrqUOCmC8dNUsgTIjAuUohkdxLTR+62Su3n6aYv 85pzv+saRcrysV+71rRzOY93OWqeuE2EkDckYDd+vdMms/tiy2E6H6Q+bByJRbVnPI4d g67Q== X-Gm-Message-State: ANoB5pl+M4e8vdF41eZwT1lU7qzQPHYuB2sXyLd+aJts3zfSDDpZYevy CajUo9DhCONFJf1vjdvUrnU= X-Received: by 2002:a7b:cd0e:0:b0:3cf:ca45:3b19 with SMTP id f14-20020a7bcd0e000000b003cfca453b19mr3984095wmj.179.1668266380066; Sat, 12 Nov 2022 07:19:40 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id f7-20020adfe907000000b0023677081f3asm4543484wrm.42.2022.11.12.07.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:39 -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 04/18] mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:21 +0000 Message-Id: <20221112151835.39059-5-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/gateworks-gsc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c index 9d7d870c44a8..c954ed265de8 100644 --- a/drivers/mfd/gateworks-gsc.c +++ b/drivers/mfd/gateworks-gsc.c @@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = { .num_irqs = ARRAY_SIZE(gsc_irqs), .num_regs = 1, .status_base = GSC_IRQ_STATUS, - .mask_base = GSC_IRQ_ENABLE, - .mask_invert = true, + .unmask_base = GSC_IRQ_ENABLE, .ack_base = GSC_IRQ_STATUS, .ack_invert = true, }; -- 2.38.1