From patchwork Sat Nov 12 15:18:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aidan MacDonald X-Patchwork-Id: 19198 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1316970wru; Sat, 12 Nov 2022 07:21:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qztztqt3HYLGGuSxVJGCPWfjfR01kWbkT+BarjxCZYq3oO652X5L0J8qGq5N2xUZS2S7l X-Received: by 2002:a17:907:6d9d:b0:7ae:63b8:d688 with SMTP id sb29-20020a1709076d9d00b007ae63b8d688mr5544407ejc.222.1668266466895; Sat, 12 Nov 2022 07:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668266466; cv=none; d=google.com; s=arc-20160816; b=rZgSdYwfXpoiRqMvfcf9F0e+bALeZlTBiABUdYGcr/GXMOrm6HQvkKm5fNLC35OibO A6GMXRgZtg54l74mnKmkA7WOMk+HY0fErSMwhwRXFqkJP+rkcKbiH+LsaTBCjIXbydJH 5QQlPKMlWNemjHeKNKs0jNQE/HTG7oHCyhh4V6IZespMZUwjAxmQ6I3fBhv9ASGcEiQH BXVNA+v8luG146Uno4XxAmXVks6AwPowmFR3ZKSetmrcZowrQUJ75REr0msp2lONUXiq terih5tj5/2ct4FkUzxm9Fumz3ZsgJUBb6ZjTYpZMysL+LrbH4VZ5kZScJD6omxh/7Or WgKA== 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=YaXPTSTfVAjT3RnVq8UtQeB7ybyxfMU88BI11sZ0ri4=; b=GwgxeiBINJ3rOfM4daI7W/MFKS/cFVu9AzEbxSYBoiMCv7HFwClR0iYAq2qJHrRoRx QSfR05NfdkkCIqP9msyqLpwHCGgP2Qj3HJ7tbZtFwB/ItW+kOYBuDICeMU5xtSgJp1Qd I6YCAfQAYff5cmQl/QR6wjrpzJ3+6OIj2Jl8Rewt/2KhElG1lWa1xszifEtnASespK0E 7Ne4+Ur2w6CVbJCqYA+bEbPPcXcQIEnD930qk9s+sJdmWwQOZuiavdZD1r0I/PjQ5Nil 5/PUaLrjw85qNnuwSSQX1M7E8CjW3j9BgyrGX2SL/pe+wqFOOhArdyoz4pPzV2GIu6/L wz8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NuIqoadp; 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 gt42-20020a1709072daa00b007ae0596231esi5562551ejc.789.2022.11.12.07.20.43; Sat, 12 Nov 2022 07:21:06 -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=NuIqoadp; 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 S235025AbiKLPUN (ORCPT + 99 others); Sat, 12 Nov 2022 10:20:13 -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 S234909AbiKLPTz (ORCPT ); Sat, 12 Nov 2022 10:19:55 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBE9112AAB for ; Sat, 12 Nov 2022 07:19:43 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id j5-20020a05600c410500b003cfa9c0ea76so4882061wmi.3 for ; Sat, 12 Nov 2022 07:19:43 -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=YaXPTSTfVAjT3RnVq8UtQeB7ybyxfMU88BI11sZ0ri4=; b=NuIqoadpk7a6YuPwcL2jBzcSRnizeRBdvdMOwXhqv0QhYjXNBoZcWgQbSk4hxC25Jr VqQM+NpB3lsDhIe3ul6BOKcJE16jotTUbG4v7eHHlZN70s46tDMoI9bXlWW+l0lG4Qcz G1mFPUovYKpz8d7efaIHwFJtD7Qp1wDYLobfkDiQzwhuq35ltpXIZfKg7OOqEyGFyh5B oYcO1U4KbFR98+DQKRwMRqZAdItqqaYY7M4LkXXL1ZAHuaqPi4MWhTFn+4Ce0a4x9Sek HFIozN8h6Ti+uObJ9Ye5aKmHNUiE7oJ4dLgeKmYLrSbJmS1DWRH5jEZFi4XcVvaJI6bs T94w== 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=YaXPTSTfVAjT3RnVq8UtQeB7ybyxfMU88BI11sZ0ri4=; b=MKeG4kGpKX8Z/MuG+CCbHqctEh4DO1+P/946bGQnEHVZ2X+ADG9oof1j4o13zO+m3B hI/CsZXVYlbLNK3XebtH070zpQEnpmFLgo3LVHtQeHc7/MP5LqeUiLirMUjJC8OcJdaK 1TkTGG0epaOj5Il6BaoycAcDGTUE5wcXI1KYq+BS/M0VUggWBmf1TlCqT2oo1nBbeUh+ IiMTxzuMbrv/4cw3c2LX0sK6whpAhdspa8DiWjYtb/9HlSWQPMWQqURlYu3IFkg9nVaV mGy8qAgXn2C7Wr3ACzAKbDWm2XWlE8aUh9b5Vv5e2vDKQz1JSlY7RU7IuhapiH3G0H9T B92A== X-Gm-Message-State: ANoB5plcV6leXJGUjyfKeGQfzyCCPcu8NIBdtApHz7qSHxwet1h7A+Pm ue/ErlrT8SFuXcODWDLqHbs= X-Received: by 2002:a05:600c:54c3:b0:3cf:70a0:f689 with SMTP id iw3-20020a05600c54c300b003cf70a0f689mr4195425wmb.161.1668266382338; Sat, 12 Nov 2022 07:19:42 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id bg1-20020a05600c3c8100b003cfaae07f68sm13192790wmb.17.2022.11.12.07.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:42 -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 06/18] mfd: max77650: Remove useless type_invert flag Date: Sat, 12 Nov 2022 15:18:23 +0000 Message-Id: <20221112151835.39059-7-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749304178795405205?= X-GMAIL-MSGID: =?utf-8?q?1749304178795405205?= The type_invert flag does nothing when type_in_mask is set, and it's part of deprecated functionality in regmap-irq. Remove it. Signed-off-by: Aidan MacDonald Acked-by: Bartosz Golaszewski --- drivers/mfd/max77650.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/max77650.c b/drivers/mfd/max77650.c index 777485a33bc0..3c07fcdd9d07 100644 --- a/drivers/mfd/max77650.c +++ b/drivers/mfd/max77650.c @@ -138,7 +138,6 @@ static const struct regmap_irq_chip max77650_irq_chip = { .status_base = MAX77650_REG_INT_GLBL, .mask_base = MAX77650_REG_INTM_GLBL, .type_in_mask = true, - .type_invert = true, .init_ack_masked = true, .clear_on_unmask = true, };