Message ID | 20221112151835.39059-1-aidanmacdonald.0x0@gmail.com |
---|---|
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 l7csp1316605wru; Sat, 12 Nov 2022 07:20:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DBw+K0YjhGaE4cwcT/B6tsRP2Mu7rBCyg+eaO77BEARMvZUcTK3K6lWPt37RRn1aV1Tey X-Received: by 2002:a17:907:2350:b0:78d:9c2f:bf78 with SMTP id we16-20020a170907235000b0078d9c2fbf78mr5354404ejb.594.1668266416634; Sat, 12 Nov 2022 07:20:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668266416; cv=none; d=google.com; s=arc-20160816; b=CyBQ8V50f2haKcboq+rXL4LCnSKokFU9LmOevI1AWlSAv2Npuofm5DYl8z8rd0F1Gv 1ZvFH3PJqczWPRU/qK7CJS68VnsdOqzXOoUs+6rWx0VXgttBF5PurFPaSTi8Me3Y4D7+ ZFQfu3VMpRNkeJb7K1gd6Bt+YH7xaweRyfyVnNO8T6ExvWBQw3tY5wCZ+eXY+uP7Y8Z2 ER080AO2kxXA+EL7ppsDHt+0RxSnBQKT5GMzF+j4pBOo6sl1vT0LVY9A9C0MkIZveR0z 0Q134oNu85XOGaRemEa296i4g/G/g8/2LNVPYvrBvo4aP20eqZxp59blYzanCl+PSDwx 27rw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=J0vWSKW+cqe7c68hAhigp7JPoCf9OaO1JjK7632mUgk=; b=H+5Xhijqv9MRoaktzsuLLlTf5maVRvjNc1vNQWbJ+9OjhRERDVKfSLGIVzpqrRbddG 9Q2gqKOl5i59u/H2FrsdMAoZ4wHTc1MPhNW+1r/6iLui7YkZMFVULNTStcXo/CxKjQ0d H/XD/S2YpUJcz/iGj1Kocrd6SdlRHAyG3X5fX7anHV/7cEkUUrZfhX0JPj1Tkf8F8+9/ q1ddfX2zfAxycAb483DTQthr0svYV4rp2TXBaWlt3PyBTfeZ1sA2yqKsITE7kI/NySlN JOxRwu4KFsiHCYlNi4HyfBjlOok8JGmfTnZEdGXLn5848ZAJwa+ac5ZvdWHCjn1F5tCR oazg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fNnUGCX4; 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 i7-20020a05640242c700b00461cb980126si5636148edc.309.2022.11.12.07.19.50; Sat, 12 Nov 2022 07:20:16 -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=fNnUGCX4; 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 S234627AbiKLPTk (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Sat, 12 Nov 2022 10:19:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbiKLPTj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 12 Nov 2022 10:19:39 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5592FAFD for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:37 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id t1so4521320wmi.4 for <linux-kernel@vger.kernel.org>; Sat, 12 Nov 2022 07:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=J0vWSKW+cqe7c68hAhigp7JPoCf9OaO1JjK7632mUgk=; b=fNnUGCX4WC0Ll7lgheKpYU/zQDvVa4tS/EXYHg3tZjtvFy8sq/t8au5yvQUhK0uZQA wormq2fWEZKUiXYSHV8Qh/RpnLoBA4fiB62QQPBag6AqVnnolMabjDpiRfsfS9DJDBW5 hOegKWme1/7S7aFIDCzEWrr5a90K6ZYXz4I3szy+cE7r5tPcYW9ElC3xUegL3wyF97Zc cHDoDZ0I7Y+iYFuApmy88LgEFtrFRHvaMNuFMT4QRfDOWGVFwFoTANXmhP5OW9N2XvrD Vs8JtKR9pQPg/VmnF6kenTpsZvRwc2uUgYBXK7nMsOx9wFwkxLBUvdvhv9sQC0xsKBfV e+4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=J0vWSKW+cqe7c68hAhigp7JPoCf9OaO1JjK7632mUgk=; b=lhmFS13rFFdA4jqSZ3GWOIsGvBGPFv6KAHUI00f71Ddb9XzvRtnopg637gGsvDdRWT TOJ1C/dE+6CoyI2QiPb5oAtE8MAgwmy/Q2KpNDPLNgsGorCsiyYsGAwMpGnHlv7frq7w 6YYMQ49F/OB08t479w/GmJ3ve4Ij1oiEuWjVYqLIdmi10cZEXC8TlK633wS67W4Gtp/P oJDrzalrD7ZKJ2qt9IDZMkA8pf0C9y2z0205yfIXJkHuuJCrECUqmi62HGgfWB4H3Bcu AzpOT9O3f5916l6rbygMCtEQ0IaDs+l6Inz0J4Kde5IRa8hmmlAUFd79ODRaIgJIbAax 7qqw== X-Gm-Message-State: ANoB5pl2Wy5ta+oh2gMkjX63rFzHYZE/dM0F3eJq1RLMsx8DdyDh7aw2 98yj2TRqzKTJNo8EQw7/i2s= X-Received: by 2002:a05:600c:4408:b0:3cf:89c3:5d0d with SMTP id u8-20020a05600c440800b003cf89c35d0dmr4174560wmn.197.1668266376409; Sat, 12 Nov 2022 07:19:36 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id h5-20020a5d4fc5000000b0022cd96b3ba6sm5408315wrw.90.2022.11.12.07.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:36 -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 00/18] mfd: Clean up deprecated regmap-irq functionality Date: Sat, 12 Nov 2022 15:18:17 +0000 Message-Id: <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?1749304125633082415?= X-GMAIL-MSGID: =?utf-8?q?1749304125633082415?= |
Series |
mfd: Clean up deprecated regmap-irq functionality
|
|
Message
Aidan MacDonald
Nov. 12, 2022, 3:18 p.m. UTC
Hi Lee, Here are some trivial updates to replace old, deprecated regmap-irq APIs with the new equivalents. There should be no functional changes, but none of the patches have been tested (besides compile testing). One issue with WCD934x - after applying the patch, a bug in regmap-irq will cause a null pointer deref when setting the IRQ type, but a fix is already in the regmap tree. Link: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git/commit/?id=84498d1fb35de6ab71bdfdb6270a464fb4a0951b Aidan MacDonald (18): mfd: 88pm800: Replace irqchip mask_invert with unmask_base mfd: atc260x: Replace irqchip mask_invert with unmask_base mfd: axp20x: Replace irqchip mask_invert with unmask_base mfd: gateworks-gsc: Replace irqchip mask_invert with unmask_base mfd: max14577: Replace irqchip mask_invert with unmask_base mfd: max77650: Remove useless type_invert flag mfd: max77693: Replace irqchip mask_invert with unmask_base mfd: max77843: Drop useless mask_invert flag on irqchip mfd: rn5t618: Replace irqchip mask_invert with unmask_base mfd: rohm-bd71828: Replace irqchip mask_invert with unmask_base mfd: rohm-bd718x7: Drop useless mask_invert flag on irqchip mfd: rt5033: Replace irqchip mask_invert with unmask_base mfd: rt5120: Replace irqchip mask_invert with unmask_base mfd: sprd-sc27xx-spi: Replace irqchip mask_invert with unmask_base mfd: stpmic1: Fix swapped mask/unmask in irq chip mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base mfd: tps65090: Replace irqchip mask_invert with unmask_base mfd: wcd934x: Convert irq chip to config regs drivers/mfd/88pm800.c | 3 +-- drivers/mfd/atc260x-core.c | 6 ++---- drivers/mfd/axp20x.c | 21 +++++++-------------- drivers/mfd/gateworks-gsc.c | 3 +-- drivers/mfd/max14577.c | 7 ++----- drivers/mfd/max77650.c | 1 - drivers/mfd/max77693.c | 6 +----- drivers/mfd/max77843.c | 1 - drivers/mfd/rn5t618.c | 3 +-- drivers/mfd/rohm-bd71828.c | 6 ++---- drivers/mfd/rohm-bd718x7.c | 1 - drivers/mfd/rt5033.c | 3 +-- drivers/mfd/rt5120.c | 3 +-- drivers/mfd/sprd-sc27xx-spi.c | 3 +-- drivers/mfd/stpmic1.c | 5 +++-- drivers/mfd/sun4i-gpadc.c | 3 +-- drivers/mfd/tps65090.c | 3 +-- drivers/mfd/wcd934x.c | 11 ++++++++--- 18 files changed, 33 insertions(+), 56 deletions(-)
Comments
Hi Aidan, la 12. marrask. 2022 klo 17.19 Aidan MacDonald (aidanmacdonald.0x0@gmail.com) kirjoitti: > Here are some trivial updates to replace old, deprecated regmap-irq APIs > with the new equivalents. There should be no functional changes, but none > of the patches have been tested (besides compile testing). > Link: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git/commit/?id=84498d1fb35de6ab71bdfdb6270a464fb4a0951b > > Aidan MacDonald (18): Just a small suggestion. Would it work if the CC-list was generated separately for each of the patches for a large series targeted to various individual drivers like this one? I think that many of the recipients are not interested in more than one or two of the patches + cover-letter in this 19-mail series... I know it can be a pain to hassle with the recipient lists and message-IDs - so I am glad if anyone can find some help from my personal playground - or even better, share their versions with us :) So, to open the window for any work-flow improvement suggestions... ...I've personally started generating patches using the following shell-script (which is inefficient and lazily written but seems to mostly work for me): https://github.com/M-Vaittinen/linux/commit/9045670f8d3d4638b9032d96cff955704a6d438e It can be freely used as a source of inspiration (or perspiration - no guarantees it works as intended or is feasible for anything) when generating the next series ;) Yours -- Matti