Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E2B2C761A6 for ; Sun, 19 Mar 2023 21:02:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229922AbjCSVCW (ORCPT ); Sun, 19 Mar 2023 17:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjCSVCR (ORCPT ); Sun, 19 Mar 2023 17:02:17 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A033614213 for ; Sun, 19 Mar 2023 14:02:16 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id x1so11127852qtr.7 for ; Sun, 19 Mar 2023 14:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679259736; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9AGJWMFZbo5fpLPkN4Owh4cw9xbOzMAGoq7uOCVoSZk=; b=OHZoYgH1vFDpxDzUfb6oxysxHpdW968gDY2DRjbjmtNN15NIytmhLtY4FemgXakpfU 2XxgnqulDDx5DIl5l4REapTDm2kauedL8LY0dLlvDn7nkatoWCPryT3RKFLDrik4djQP p8bTSXXe7YFhCclY8MbQtLFaDgTiIVEsziuaFe/OX143Y82agu+KZ9dWZRxiMYJbaHhO JQSWxDIpvNmdGFC8iig+SaUQEos1jxWm9m41nkiBSbFgrO6/oNBNBHDqZLeeZmDzO401 B+S3ZN3hGRV0DLsPSbKSxeELVL6+bksh9gyjBJZlKHXlW+9dpqx0RIYgAUNjwBcF5CdA rQqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679259736; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9AGJWMFZbo5fpLPkN4Owh4cw9xbOzMAGoq7uOCVoSZk=; b=5tFO3ijUFMTeZRhASjq+d/8Z1bDFiaXSYrQz+UHECtbFdFPOXEWtbPpwrGQUiHgkF1 yTSbeqmdKOJMtlnLcVx26vAisUFp9HpDAVznpm2ZrNt/NEO95sWDT/4X5zKRf8VMgov+ R5B0yrAGC2KjrGDdeAtBhlwivhMbSqz2auY7AdWz+WtZascFzYm38NHbAWopO9pLd2Dt 2PIvyDMYJcb3W/yhWSc/gua8yjSELEDKhcsxnuk3cEncDyBuQHzthz/Udi7xgNOQ6Zc3 tuRMP55uuOyCAsPvWUAgOuvW+VGod8M3SYcWf1yYu1j2+jNWFoP+BPAD+mF4SfvERj8j zmUA== X-Gm-Message-State: AO0yUKUq5AQuEUIeHdPY+0xKIeXAwdJJps8fAb2aW8LecaqveiW8cvdp 3WvEJM1fRgh6QgTEtfCxTfT/gw== X-Google-Smtp-Source: AK7set9352BrXQD/XMWazbIWFbhxQX8OebwZaJyVoS2yfBQjw+imRAES4FSZCBo/JjDh+lk0EWhEjw== X-Received: by 2002:a05:622a:1a25:b0:3b8:5057:377b with SMTP id f37-20020a05622a1a2500b003b85057377bmr23995728qtb.65.1679259735796; Sun, 19 Mar 2023 14:02:15 -0700 (PDT) Received: from fedora.attlocal.net (69-109-179-158.lightspeed.dybhfl.sbcglobal.net. [69.109.179.158]) by smtp.gmail.com with ESMTPSA id o16-20020ac86990000000b003bf9f9f1844sm5225762qtq.71.2023.03.19.14.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 14:02:15 -0700 (PDT) From: William Breathitt Gray To: Mark Brown , Linus Walleij , Bartosz Golaszewski Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Andy Shevchenko , William Breathitt Gray Subject: [PATCH v2 0/2] regmap-irq: Drop map from handle_mask_sync() parameters Date: Sun, 19 Mar 2023 17:02:00 -0400 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v2: - Pull out 104-dio-48e refactor to a precursor patch Remove the map parameter from the struct regmap_irq_chip callback handle_mask_sync() because it can be passed via the irq_drv_data parameter instead. The gpio-104-dio-48e driver is the only consumer of this callback and is thus updated accordingly. A couple pending patchsets also utilize handle_mask_sync() [0][1], so it'll be useful to merge the changes in this series first to avoid subsequent noise adjusting the dependent drivers. [0] https://lore.kernel.org/r/cover.1677515341.git.william.gray@linaro.org/ [1] https://lore.kernel.org/r/cover.1678106722.git.william.gray@linaro.org/ William Breathitt Gray (2): gpio: 104-dio-48e: Implement struct dio48e_gpio regmap-irq: Drop map from handle_mask_sync() parameters drivers/base/regmap/regmap-irq.c | 5 ++--- drivers/gpio/gpio-104-dio-48e.c | 32 +++++++++++++++++++++++--------- include/linux/regmap.h | 3 +-- 3 files changed, 26 insertions(+), 14 deletions(-) base-commit: 03810031c91dfe448cd116ee987d5dc4139006f4 -- 2.39.2