Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3548270rwb; Sat, 12 Nov 2022 07:43:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tbW5s3XBj9GcCLQlZ+l5gp+ZT74upxhT2E2OC/2S35I/kP4Zv05OnLG8mM6ijPuksOAjW X-Received: by 2002:a17:906:f285:b0:7ad:9c82:6cdb with SMTP id gu5-20020a170906f28500b007ad9c826cdbmr5462115ejb.233.1668267821235; Sat, 12 Nov 2022 07:43:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668267821; cv=none; d=google.com; s=arc-20160816; b=gLjYTMHrddQfFYgaj+H9Dw/96wJ/DIf81LUeG8Zz23d4mTlSFYxXSImS8SI17932/i vdYIEUenMeekUyt35KaGGVtf7Wo6loV+ISkXQ9L+E0QrhbsUK34MmMBKmIopzW16giKQ xv+CIyO4Sy/xs9aaH8UTHMPREqizJyDn7i/OM4qxe4PWThqO+XLVwu2avtaLPdmaylzu K90x62/guz7nOdgMSoU8aS2RG63W3mSavok6eU8dXF89jzci1r22uvJEmG/jg1a2HSNz Ut88x6YbATcExmLYinxAeG7YaZhYbtdwdeJus9Ssmn//9XqkANduq/ka8L8DH83TwaZ8 4O4Q== 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=RzfFarMWnyAPcL/j9BLrbh9/EDR9l6mYdqyx4d7GlDs=; b=epP5IxFWfaKwqoufl9Dv39zNAy24N+UDCVV9fRcp5h1FG2p5ZctFZuz19bZdmHokze OqoYJW0ojrLGzi22L1G3Yn37VUXnKpRmzss05pyCynHiJvskpR6YBgScnVtNwD4en/2S YisVMfxy8Jm1600yL9NWVoHYdkwz2mrQKtLvCc9tOjPYDEPExmqgySj2HdGxfqrgjhNo zurmGz0uov52KOy7+wAb7/ZoYIO19gjHUVe4PUNueJwquRR/tv1D9NCSD6gK1KoWFWhj p2rLeExJaORALrCBrJzk+Xx0csLi6VodMGpASsYmNJSLp6En4BiURd1RiaeeNbU9LAIh TBtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i6Xha0IS; 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 p26-20020a056402075a00b004517955b673si4267015edy.124.2022.11.12.07.43.18; Sat, 12 Nov 2022 07:43:41 -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=i6Xha0IS; 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 S235001AbiKLPUR (ORCPT + 91 others); Sat, 12 Nov 2022 10:20:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234864AbiKLPTz (ORCPT ); Sat, 12 Nov 2022 10:19:55 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D186912AC1 for ; Sat, 12 Nov 2022 07:19:44 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id i82-20020a1c3b55000000b003cfd36eff5fso743220wma.3 for ; Sat, 12 Nov 2022 07:19:44 -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=RzfFarMWnyAPcL/j9BLrbh9/EDR9l6mYdqyx4d7GlDs=; b=i6Xha0IS/gQNLKfoEiaGh+pMe0XQk2nRYv1lnAVGxx5a44I7wnJClCJgg4n4nnVKhm AIG+wpTP1h9KaH1JGqdy7Fl3I+iD+hTPYO54epiDta9+c5Vyd7YaH8wI5BhuRP7AyuMZ g7uf6cyj/+YuLWOJXwjcfV3ZNXbiX3ho7mWJcvCLOFn81+Ki3+H9MWHa77Ite+4AUUUu o0wD7mAPe+hgNsIO1fM1E7Lu5zNpOFAcwo31x6n1lXbvomSAqK8VcLANOOTf8i+bWXhf 89rF1XkweKVV11jgQZ6kyyLzRNbwp8UjBpoSF0dxk59UfCJdOObcbD0TOBMllXr5YXdX /mZQ== 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=RzfFarMWnyAPcL/j9BLrbh9/EDR9l6mYdqyx4d7GlDs=; b=6jOlQ6F/nXfGnAPZ0yY2g34XVjumyETkgLiTe84DzdHKyWtM+UINVOSp+zP61FGHqC 3nMOw4WuAN4FFfdRsiC7XOr8GtGMiQkSkGKMm89xiIxdTnIXqW4dIM+LQ/r92lu7aloX Y6uBAJZ3MsP9Eosh8pe2Fd8MUI1LQef0a34b6D7prON/SB15kEayrWQAm1ZKTprqHqYk Yde/qXWeK1c6ygu6ePidg5eEFtl/EZUhsPQFCLylFDtMmxvGyf1EA8aDwxuUwSpMFfWR Ae4jTm1+1bDfKqhoJajRuuVCydmAjbmbwY2RZcrPp+w8rUXoh3AXCn3PwiuVybLXhJ1m nwvw== X-Gm-Message-State: ANoB5pkNrmTSAwTIBcYFgh7U5B7iBvIGSMocLIpRpY4xpBXVL7kSATxi GKdCc9Tgs0vXk73icj04McY= X-Received: by 2002:a05:600c:2251:b0:3cf:a511:3217 with SMTP id a17-20020a05600c225100b003cfa5113217mr4098434wmm.205.1668266383299; Sat, 12 Nov 2022 07:19:43 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id z25-20020a05600c221900b003c6c5a5a651sm6568370wml.28.2022.11.12.07.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:43 -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 07/18] mfd: max77693: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:24 +0000 Message-Id: <20221112151835.39059-8-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/max77693.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c index 7088cb6f9174..7486acc84499 100644 --- a/drivers/mfd/max77693.c +++ b/drivers/mfd/max77693.c @@ -66,7 +66,6 @@ static const struct regmap_irq_chip max77693_led_irq_chip = { .name = "max77693-led", .status_base = MAX77693_LED_REG_FLASH_INT, .mask_base = MAX77693_LED_REG_FLASH_INT_MASK, - .mask_invert = false, .num_regs = 1, .irqs = max77693_led_irqs, .num_irqs = ARRAY_SIZE(max77693_led_irqs), @@ -82,7 +81,6 @@ static const struct regmap_irq_chip max77693_topsys_irq_chip = { .name = "max77693-topsys", .status_base = MAX77693_PMIC_REG_TOPSYS_INT, .mask_base = MAX77693_PMIC_REG_TOPSYS_INT_MASK, - .mask_invert = false, .num_regs = 1, .irqs = max77693_topsys_irqs, .num_irqs = ARRAY_SIZE(max77693_topsys_irqs), @@ -100,7 +98,6 @@ static const struct regmap_irq_chip max77693_charger_irq_chip = { .name = "max77693-charger", .status_base = MAX77693_CHG_REG_CHG_INT, .mask_base = MAX77693_CHG_REG_CHG_INT_MASK, - .mask_invert = false, .num_regs = 1, .irqs = max77693_charger_irqs, .num_irqs = ARRAY_SIZE(max77693_charger_irqs), @@ -136,8 +133,7 @@ static const struct regmap_irq max77693_muic_irqs[] = { static const struct regmap_irq_chip max77693_muic_irq_chip = { .name = "max77693-muic", .status_base = MAX77693_MUIC_REG_INT1, - .mask_base = MAX77693_MUIC_REG_INTMASK1, - .mask_invert = true, + .unmask_base = MAX77693_MUIC_REG_INTMASK1, .num_regs = 3, .irqs = max77693_muic_irqs, .num_irqs = ARRAY_SIZE(max77693_muic_irqs), -- 2.38.1