From: Cixi Geng <cixi.geng@linux.dev>
To: linus.walleij@linaro.org, brgl@bgdev.pl, orsonzhai@gmail.com,
baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH V2 0/3] Make the irqchip immutable
Date: Tue, 20 Dec 2022 21:23:38 +0800 [thread overview]
Message-ID: <20221220132341.19383-1-cixi.geng@linux.dev> (raw)
From: Cixi Geng <cixi.geng1@unisoc.com>
Kernel warns about mutable irq_chips:
"not an immutable chip, please consider fixing!"
Make the struct irq_chip const, flag it as IRQCHIP_IMMUTABLE, add the
new helper functions, and call the appropriate gpiolib functions.
changes:
split the patch by each driver. and other comment by baolin in[1]
Cixi Geng (3):
gpio: eic-sprd: Make the irqchip immutable
gpio: gpio-pmic-eic-sprd: Make the irqchip immutable
gpio: gpio-sprd: Make the irqchip immutable
drivers/gpio/gpio-eic-sprd.c | 23 ++++++++++++++---------
drivers/gpio/gpio-pmic-eic-sprd.c | 29 ++++++++++++++++++-----------
drivers/gpio/gpio-sprd.c | 8 ++++++--
3 files changed, 38 insertions(+), 22 deletions(-)
--
2.34.1
next reply other threads:[~2022-12-20 13:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-20 13:23 Cixi Geng [this message]
2022-12-20 13:23 ` [PATCH V2 1/3] gpio: eic-sprd: Make the irqchip immutable Cixi Geng
2022-12-20 13:23 ` [PATCH V2 2/3] gpio: gpio-pmic-eic-sprd: " Cixi Geng
2022-12-20 13:23 ` [PATCH V2 3/3] gpio: gpio-sprd: " Cixi Geng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221220132341.19383-1-cixi.geng@linux.dev \
--to=cixi.geng@linux.dev \
--cc=baolin.wang@linux.alibaba.com \
--cc=brgl@bgdev.pl \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=orsonzhai@gmail.com \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).