Message ID | 20221112151835.39059-12-aidanmacdonald.0x0@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1318208wru; Sat, 12 Nov 2022 07:24:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf6b1q8atfLHZ+RuxyvLDwf+2i3NI6Xl5ziMOPToHAcHmWKhRM69rM38HKd11C9q0JXsOMAt X-Received: by 2002:a05:6402:3458:b0:458:b9f9:9fba with SMTP id l24-20020a056402345800b00458b9f99fbamr5765965edc.305.1668266678470; Sat, 12 Nov 2022 07:24:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668266678; cv=none; d=google.com; s=arc-20160816; b=ssR015og4LB5Ku1XuKQYQ7Lmz+iFR0Y9hVkSRfMnzAgLtcZ4HJigf8Dfwad2Xcli0j u2ol3BIsYWesYlBtPvaFDjkV8r6tiK38OoNzy5+DGXg4u9CeDSjwQ8W0XpqjJjzQN5b6 S8KeokRc2xIxZIJXzHuIrae6Woeicn00xVlmjoB4ir8B+3uXrlu6qa5Z5L9us7ZEE4il 2BzhaCwSKwUFcjT589yDZW9E8UzLlrnEbXAEh64DTGmI9SNbcGIu87gouB7kCEl5XlbN /JM7dejxt09My0hspIH9stpfg8h8Wgj2hgjK9PXZ//F1ypG6pjSP7FefnY7x/IwLBbK7 CSAg== 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=acztsJdrOe0moyQxGDWG+rNoagLS7dO0IEh5xXE8Q3w=; b=KyydxMhW0qi6UWYb9gaHb2wz4CpqVg0zxSMyqqmPlxS/6d86PNpgRpo/yUk/M4feTy bfmvVuTRfNecaoNBusehuWw0XX1XYvIRIkSHXmMu436AVPbtlR0flUT8f7TTRpsjjwHL L8T2oga4vCSjdZpqwCHINDjGu1UNv82EDMYlTS8loBxNhdhjUwS2c48TNY2me5kDI1Q1 JrzS0qoUEa1Xb+djcrJRi0Qna+AR++pdfCPdOvguidrzSfE9+9OJCtc5nn2bS2SgK7ff 9O8JBmXODBsufBcM83sPa783TD0AY91r96Gcy9BfkULHuypnf4n2PXGzJzeSdxAoqXnI t/yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="B72ZIoy/"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a0564021e8f00b0045217702054si5999605edf.501.2022.11.12.07.24.14; Sat, 12 Nov 2022 07:24:38 -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="B72ZIoy/"; 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 S235005AbiKLPUg (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 10:20:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbiKLPT5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); 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 8C333178B9 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:48 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id r186-20020a1c44c3000000b003cfa97c05cdso1514382wma.4 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:48 -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=acztsJdrOe0moyQxGDWG+rNoagLS7dO0IEh5xXE8Q3w=; b=B72ZIoy/C8w6XAkRuWh0adz9TJE3c/ksIlbW6Oj7U4AMK8NTxd+7Wn3vOEY/mzQOLG +ynv2pC0M3mwdkgN/rmckB2dKlKo7UCGqFYjOvQ4HoC4bFXxECE0IinFVmBQH0gluraN P7rvFxWyVijo83yXcpNAV0LBv5SbD/gajjihlbTUevyQEG/fG6KtTXVuDCJZ36zzLq5T i+Ada1YLdg0QdX2GtWxxS5iI4VCErbN1lcCUEo/KtH2sYUXo2rTRuzU0peN3w5VA7iu2 oAfEO+RGrzlQFwuUZsZgOihfqwdomcUDimOBHHJlTRj+02yYq2tlWO+E8ectt9p9csrb gZYg== 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=acztsJdrOe0moyQxGDWG+rNoagLS7dO0IEh5xXE8Q3w=; b=2QlOZ2RiU1re0Es/PXD0ygjfRqD+GceX9itC8Sw3P2Z+MWfFmMDb5OHhsGP+wqUEd3 aQDQ4LlIHNJD/oocvEVYwDLbiOeIqvfn2XotOxiDMnX6gl+2AHC6kiBTGvbBdH+PLdTv s72/SB2Gn2bvPEUzM8jeIXiCtuaPynPgbPqxwqWtbaizV3R9nESVY+NVC85GYs7lx9Uq Hzn6DDk3r1baxRqh7u8WoWg9zcX5EhvaL3YLT7Eqb3eGLRajMDvR7xOXTDvBkdfhaqcL 40V5f3th3O4gD9zQy+RUynKMXYniah5dKjSfCo520fBHH8uQKM6/aSckKySODlEK9bjk 432Q== X-Gm-Message-State: ANoB5plIy0HAbAF/hcxUZu9/X0QAF44PybPdP9mxkg5TCWjZC7My81iE ZHLpjFk+6HTPWnVXysFEzAg= X-Received: by 2002:a05:600c:354d:b0:3cf:7514:a806 with SMTP id i13-20020a05600c354d00b003cf7514a806mr4190170wmq.116.1668266387219; Sat, 12 Nov 2022 07:19:47 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id z15-20020a056000110f00b0022a3a887ceasm4578267wrw.49.2022.11.12.07.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:46 -0800 (PST) From: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> 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 11/18] mfd: rohm-bd718x7: Drop useless mask_invert flag on irqchip Date: Sat, 12 Nov 2022 15:18:28 +0000 Message-Id: <20221112151835.39059-12-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749304400629218789?= X-GMAIL-MSGID: =?utf-8?q?1749304400629218789?= |
Series |
mfd: Clean up deprecated regmap-irq functionality
|
|
Commit Message
Aidan MacDonald
Nov. 12, 2022, 3:18 p.m. UTC
Setting mask_invert to false is pointless because that's the
default. The flag is also deprecated, so drop it.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
---
drivers/mfd/rohm-bd718x7.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 11/12/22 17:18, Aidan MacDonald wrote: > Setting mask_invert to false is pointless because that's the > default. The flag is also deprecated, so drop it. > > Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> > --- > drivers/mfd/rohm-bd718x7.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mfd/rohm-bd718x7.c b/drivers/mfd/rohm-bd718x7.c > index bfd81f78beae..ad6c0971a997 100644 > --- a/drivers/mfd/rohm-bd718x7.c > +++ b/drivers/mfd/rohm-bd718x7.c > @@ -70,7 +70,6 @@ static struct regmap_irq_chip bd718xx_irq_chip = { > .mask_base = BD718XX_REG_MIRQ, > .ack_base = BD718XX_REG_IRQ, > .init_ack_masked = true, > - .mask_invert = false, > }; > > static const struct regmap_range pmic_status_range = {
On Sat, 12 Nov 2022, Aidan MacDonald wrote: > Setting mask_invert to false is pointless because that's the > default. The flag is also deprecated, so drop it. > > Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> > --- > drivers/mfd/rohm-bd718x7.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks.
diff --git a/drivers/mfd/rohm-bd718x7.c b/drivers/mfd/rohm-bd718x7.c index bfd81f78beae..ad6c0971a997 100644 --- a/drivers/mfd/rohm-bd718x7.c +++ b/drivers/mfd/rohm-bd718x7.c @@ -70,7 +70,6 @@ static struct regmap_irq_chip bd718xx_irq_chip = { .mask_base = BD718XX_REG_MIRQ, .ack_base = BD718XX_REG_IRQ, .init_ack_masked = true, - .mask_invert = false, }; static const struct regmap_range pmic_status_range = {