From: Nicolas Schier <nsc@kernel.org>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Arnd Bergmann <arnd@arndb.de>, Daniel Mack <daniel@zonque.org>,
Russell King <linux@armlinux.org.uk>,
Sasha Levin <sashal@kernel.org>,
linux-input@vger.kernel.org, linux-kbuild@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Input: apm-power - remove driver
Date: Tue, 10 Nov 2026 14:07:56 +0100 [thread overview]
Message-ID: <avMXLPuXKQGWoqL5@levanger> (raw)
In-Reply-To: <20261109164425.GB1608140@ax162>
On Mon, Nov 09, 2026 at 11:44:25AM -0500, Nathan Chancellor wrote:
> On Mon, Nov 09, 2026 at 12:09:44AM -0800, Dmitry Torokhov wrote:
> > The apm-power input handler solely listens for EV_PWR KEY_SUSPEND
> > events to queue APM_USER_SUSPEND via legacy APM emulation. The only
> > in-tree platforms generating those events are legacy Sharp Zaurus ARM
> > machines (spitz/borzoi/akita and collie), none of which were converted
> > to Device Tree. Both mach-pxa board files and mach-sa1100 were marked
> > deprecated in v7.3 by commit cc7852314abd ("ARM: PXA: mark remaining
> > board files as deprecated") and commit 7d92e50ceacd ("ARM: mark
> > mach-sa1100 as deprecated"), and are queued for removal in v7.5. None
> > of the remaining ARM platforms or other APM_EMULATION targets
> > (MIPS_ALCHEMY, PMAC_APM_EMU, and SH_HP6XX) emit EV_PWR input events or
> > enable CONFIG_INPUT_APMPOWER, and arch/arm/configs/pxa_defconfig
> > already dropped CONFIG_PXA_SHARPSL at the same time, leaving its
> > CONFIG_INPUT_APMPOWER=m entry inert.
> >
> > Normalizing dashes and underscores in scripts/modules-check.sh for v7.5
> > exposes a module name collision (apm_power) between
> > drivers/input/apm-power.ko and drivers/power/supply/apm_power.ko.
> > Remove this obsolete input bridge to resolve the collision rather than
> > renaming a module whose last target platforms are going away in the
> > same cycle.
> >
> > Reported-by: Sasha Levin <sashal@kernel.org>
> > Closes: https://lore.kernel.org/r/20261108225808.1809266-1-sashal@kernel.org
> > Link: https://lore.kernel.org/r/20261109-apm-power-input-rename-v1-1-0609e7b91825@kernel.org
> > Link: https://lore.kernel.org/r/e4da2f9d-d3b9-4267-9b64-b0f2cb43402a@app.fastmail.com
> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
>
> Thanks a lot for helping with this.
>
> Reviewed-by: Nathan Chancellor <nathan@kernel.org>
>
> Nicolas, do you prefer taking this via kbuild-next directly or having
> Dmitry take it via the input tree and giving us an immutable branch? I
> assume the chance of conflicts or follow-ups are low, so we can probably
> just take it directly but I don't want to assume your preference.
Thanks! I'd like to take it via kbuild tree. Please complain, if I
shall drop it again.
--
Nicolas
next prev parent reply other threads:[~2026-11-10 13:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 8:09 Dmitry Torokhov
2026-11-09 10:00 ` Arnd Bergmann
2026-11-09 23:44 ` Sebastian Reichel
2026-11-09 16:44 ` Nathan Chancellor
2026-11-10 13:07 ` Nicolas Schier [this message]
2026-11-10 13:22 ` Nicolas Schier
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=avMXLPuXKQGWoqL5@levanger \
--to=nsc@kernel.org \
--cc=arnd@arndb.de \
--cc=daniel@zonque.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=nathan@kernel.org \
--cc=sashal@kernel.org \
/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
all inboxes | Powered by JetHome®