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 8A2A6C7618D for ; Mon, 20 Mar 2023 14:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231971AbjCTOwf (ORCPT ); Mon, 20 Mar 2023 10:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbjCTOwE (ORCPT ); Mon, 20 Mar 2023 10:52:04 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55EBD24CBF for ; Mon, 20 Mar 2023 07:50:32 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id t9so13284414qtx.8 for ; Mon, 20 Mar 2023 07:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679323825; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qGYxOnCO4fdyW1zjZ7kMdbvesDIV9vyeIW/AoUlrSts=; b=cWOWNvNmSdmHRFE3JPHVuKP5Gqlae6U6S+iKITGifoRfOmFfWu0f/rT4IY2sYO8sCR t572AteucfzHtwDVc2V3gTOk+3QPUTELoSsnas+dZ/Epyq0h8AP5Ec3wzKtkcC/ANlvs R2eXsmPunaXJsHwujjX+ge/JL5qxwhAlqW4vxVfKhEzFkPE7dGr9k/uAYCWXyENpRgvF /7c03m9PTvVx0FQ2EinxKGnlDaBTYEmfrSpo7BHvS/mRtIwaSygI4SzrBJ/mT2cBmPk+ yaG4KV8NiPMzlrD9U5hhTq8PpzoCl/lvf2H7JU4NqYOU30K0u+/vPLaWkiBkOrGNm7L2 jrew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679323825; 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=qGYxOnCO4fdyW1zjZ7kMdbvesDIV9vyeIW/AoUlrSts=; b=YKJMtgmRGdpcdDZr/N7l9ZpFZP06N48WqNNDaZjvzKFy3UTGjSonuW6JZoqIhp8/EJ oK7HHGTo3f7M6+c2JDMzKZ4Y2+eJ77TiDRHu216VwQKRerXi/t4icmSlaoHMbBX6/u+o A6I4A3sohigPaUPpKtAdXeU5rik2KuVf7MyoK48sgh6lbAvn3ZU4CbMp6F3rD81UCDWp cKKBZXWEyi9eockrz606//h0VFBZ2w4Cc1e7MXXv4b+1VnaOO5aEh28cZs7eIuMyIvbS eI600Um81jyjVe6hDE/bcYrO3pWKCZNcuZwpRJ0ocyiTs0Yf+cxD+mTVh0FV3g+F5qJW cowQ== X-Gm-Message-State: AO0yUKXbgStGRIYLs0jykywshLmwSt45x6N5NOixFnwJ/c5ZqR3k6Jo5 Era1jHcLWA8GhgfvEr6C5gJ9WA== X-Google-Smtp-Source: AK7set/2mTIX51TKnPXVeGwvJ/bQkdewluPRoJMLffadcsDHr16GM/eouraXhTDrbqWDz/6Of0d75w== X-Received: by 2002:a05:622a:d3:b0:3e1:6c7e:2ee0 with SMTP id p19-20020a05622a00d300b003e16c7e2ee0mr5869615qtw.11.1679323825452; Mon, 20 Mar 2023 07:50:25 -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 o14-20020ac872ce000000b003e03178112dsm2661003qtp.13.2023.03.20.07.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 07:50:25 -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 v3 0/2] Drop map from handle_mask_sync() parameters Date: Mon, 20 Mar 2023 10:50:14 -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 v3: - Inline dio48gpio->map usage in dio48e_handle_mask_sync() to avoid redefining map parameter 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 | 37 +++++++++++++++++++++----------- include/linux/regmap.h | 3 +-- 3 files changed, 28 insertions(+), 17 deletions(-) base-commit: 03810031c91dfe448cd116ee987d5dc4139006f4 -- 2.39.2