From: sashiko-bot@kernel.org
To: "Ethan Nelson-Moore" <enelsonmoore@gmail.com>
Cc: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: gpio_mouse - remove driver that has never been used in the kernel
Date: Sat, 19 Sep 2026 08:44:23 +0000 [thread overview]
Message-ID: <20260919084423.F271C1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260919083655.586922-1-enelsonmoore@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] input: gpio_mouse: driver removal speculatively breaks device tree ABI
- [Low] input: gpio_mouse: incomplete cleanup leaves orphaned DT binding
--
commit ff6ae0c9a42236905d35103b1b6b9ce3be08070e
Author: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Input: gpio_mouse - remove driver that has never been used in the kernel
This commit removes the gpio_mouse driver. The driver has been present since
2007 but lacks any in-tree references from platform data, device tree files,
or ACPI probing.
> diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c
> deleted file mode 100644
> index 18ccbd45004ad..0000000000000
> --- a/drivers/input/mouse/gpio_mouse.c
> +++ /dev/null
> @@ -1,170 +0,0 @@
[ ... ]
> -static const struct of_device_id gpio_mouse_of_match[] = {
> - { .compatible = "gpio-mouse", },
> - { },
> -};
> -MODULE_DEVICE_TABLE(of, gpio_mouse_of_match);
[Severity: Medium]
Could removing this driver break the Device Tree ABI for any out-of-tree
boards that currently rely on the "gpio-mouse" compatible string?
If a system bootloader or firmware passes a DTB with the "gpio-mouse"
compatible string, the driver will no longer exist to bind to it.
[Severity: Low]
Does this patch also need to remove the devicetree binding schema for
"gpio-mouse"?
The schema file Documentation/devicetree/bindings/input/gpio-mouse.yaml
appears to be left behind, leaving it as an orphaned document now that
the driver is removed.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260919083655.586922-1-enelsonmoore@gmail.com?part=1
next prev parent reply other threads:[~2026-09-19 8:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-19 8:36 [PATCH] Input: gpio_mouse - remove driver that has never been used in the kernel Ethan Nelson-Moore
2026-09-19 8:44 ` sashiko-bot [this message]
2026-09-19 12:12 ` Linus Walleij
2026-09-19 22:56 ` Ethan Nelson-Moore
2026-09-21 8:51 ` Bartosz Golaszewski
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=20260919084423.F271C1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=enelsonmoore@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.