From: sashiko-bot@kernel.org
To: "Arnd Bergmann" <arnd@kernel.org>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin.com>,
linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org,
linux-rtc@vger.kernel.org, conor+dt@kernel.org,
media-ci@linuxtv.org, linux-leds@vger.kernel.org,
robh@kernel.org, lee@kernel.org, devicetree@vger.kernel.org,
linux-hwmon@vger.kernel.org, dmitry.torokhov@gmail.com,
mfd@lists.linux.dev, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 13/14] mfd: remove unused menelaus driver
Date: Wed, 09 Sep 2026 13:49:09 +0000 [thread overview]
Message-ID: <20260909134910.33A1C1F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260909132153.1596191-14-arnd@kernel.org>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Low] Removing `include/linux/mfd/menelaus.h` breaks the build for `arch/arm/mach-omap2/` because the OMAP24xx platform and N8x0 board files were not actually removed from the kernel.
- [Low] Selection of a non-existent Kconfig symbol (`MENELAUS`).
- [Low] Dangling file reference in the MAINTAINERS file and orphaned defconfig entry.
--
commit a734289fbadac21de1944b368a0a47eb10c6d46e
Author: Arnd Bergmann <arnd@arndb.de>
mfd: remove unused menelaus driver
Menelaus was a companion chip for the omap24xx platform, which has
been remvoed from the kernel, so now the menelaus driver is unused
and can be removed.
> Menelaus was a companion chip for the omap24xx platform, which has
> been remvoed from the kernel, so now the menelaus driver is unused
> and can be removed.
[Severity: Low]
Is the omap24xx platform completely removed?
It looks like arch/arm/mach-omap2/board-n8x0.c and
arch/arm/mach-omap2/common-board-devices.h still exist and unconditionally
include the deleted header, which breaks the build for OMAP2 configurations:
arch/arm/mach-omap2/board-n8x0.c:
#include <linux/mfd/menelaus.h>
arch/arm/mach-omap2/common-board-devices.h:
#include <linux/mfd/menelaus.h>
extern struct menelaus_platform_data n8x0_menelaus_platform_data;
This isn't a bug, but there's a typo (remvoed) in the commit message.
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 0395af7270f9e..02e52398fcd28 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1893,16 +1893,6 @@ config TWL6040_CORE
> additional drivers must be enabled in order to use the
> functionality of the device (audio, vibra).
>
> -config MENELAUS
> - bool "TI TWL92330/Menelaus PM chip"
[Severity: Low]
Does removing this config break Kconfig dependencies?
arch/arm/mach-omap2/Kconfig still selects this for ARCH_OMAP2PLUS_TYPICAL:
arch/arm/mach-omap2/Kconfig:config ARCH_OMAP2PLUS_TYPICAL
select MENELAUS if ARCH_OMAP2
Selecting a non-existent symbol triggers a Kconfig warning.
[ ... ]
> diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c
> deleted file mode 100644
> index a125d40fa121b..0000000000000
> --- a/drivers/mfd/menelaus.c
> +++ /dev/null
> @@ -1,1251 +0,0 @@
[Severity: Low]
Should the reference to this file in MAINTAINERS also be removed?
MAINTAINERS:
F: drivers/mfd/menelaus.c
[ ... ]
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index ec73533703f72..9dfe1ea08c250 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -570,15 +570,6 @@ config RTC_DRV_BQ32K
> This driver can also be built as a module. If so, the module
> will be called rtc-bq32k.
>
> -config RTC_DRV_TWL92330
> - bool "TI TWL92330/Menelaus"
[Severity: Low]
Does this leave an orphaned defconfig entry?
arch/arm/configs/omap2plus_defconfig still references the removed config:
arch/arm/configs/omap2plus_defconfig:
CONFIG_RTC_DRV_TWL92330=y
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260909132153.1596191-1-arnd@kernel.org?part=13
next prev parent reply other threads:[~2026-09-09 13:49 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 13:21 [PATCH 00/14] mfd: unused driver purge Arnd Bergmann
2026-09-09 13:21 ` [PATCH 01/14] mfd: remove unused 88pm80x driver Arnd Bergmann
2026-09-09 13:37 ` sashiko-bot
2026-09-09 13:44 ` Alexandre Belloni
2026-09-11 7:24 ` Krzysztof Kozlowski
2026-09-09 13:21 ` [PATCH 02/14] mfd: remove unused rdc321x southbridge support Arnd Bergmann
2026-09-09 13:39 ` sashiko-bot
2026-09-09 20:28 ` Arnd Bergmann
2026-09-09 14:09 ` Guenter Roeck
2026-09-09 13:21 ` [PATCH 03/14] mfd: remove unused si476x driver Arnd Bergmann
2026-09-09 13:38 ` sashiko-bot
2026-09-09 13:21 ` [PATCH 04/14] mfd: remove unused wm8400 driver Arnd Bergmann
2026-09-09 13:27 ` Mark Brown
2026-09-09 13:33 ` sashiko-bot
2026-09-09 14:38 ` Charles Keepax
2026-09-09 13:21 ` [PATCH 05/14] mfd: remove unused adp5520 driver Arnd Bergmann
2026-09-09 13:37 ` sashiko-bot
2026-09-09 20:21 ` Arnd Bergmann
2026-09-09 13:21 ` [PATCH 06/14] mfd: remove unused da903x driver Arnd Bergmann
2026-09-09 13:39 ` sashiko-bot
2026-09-09 20:17 ` Arnd Bergmann
2026-09-09 15:46 ` Sebastian Reichel
2026-09-09 13:21 ` [PATCH 07/14] mfd: remove unused lp8788 driver Arnd Bergmann
2026-09-09 13:39 ` sashiko-bot
2026-09-09 20:14 ` Arnd Bergmann
2026-09-09 15:46 ` Sebastian Reichel
2026-09-09 13:21 ` [PATCH 08/14] mfd: remove unused aat2870 driver Arnd Bergmann
2026-09-09 13:30 ` sashiko-bot
2026-09-09 13:21 ` [PATCH 09/14] mfd: remove unused lm3533 driver Arnd Bergmann
2026-09-09 13:35 ` sashiko-bot
2026-09-09 13:44 ` Johan Hovold
2026-09-09 14:47 ` Arnd Bergmann
2026-09-09 13:21 ` [PATCH 10/14] mfd: remove unused rc5t583 driver Arnd Bergmann
2026-09-09 13:39 ` sashiko-bot
2026-09-09 20:49 ` Arnd Bergmann
2026-09-09 13:48 ` Alexandre Belloni
2026-09-09 13:21 ` [PATCH 11/14] mfd: remove unused wm8350 driver Arnd Bergmann
2026-09-09 13:26 ` Mark Brown
2026-09-09 13:41 ` sashiko-bot
2026-09-09 14:39 ` Charles Keepax
2026-09-09 15:47 ` Sebastian Reichel
2026-09-09 13:21 ` [PATCH 12/14] mfd: remove unused mcp-sa11x0/ucb1x00 driver Arnd Bergmann
2026-09-09 13:48 ` sashiko-bot
2026-09-09 20:53 ` Arnd Bergmann
2026-09-09 13:21 ` [PATCH 13/14] mfd: remove unused menelaus driver Arnd Bergmann
2026-09-09 13:49 ` sashiko-bot [this message]
2026-09-09 20:46 ` Arnd Bergmann
2026-09-09 13:51 ` Alexandre Belloni
2026-09-09 13:21 ` [PATCH 14/14] mfd: remove unused iPaq micro driver Arnd Bergmann
2026-09-09 13:43 ` sashiko-bot
2026-09-09 20:58 ` Arnd Bergmann
2026-09-09 14:03 ` [PATCH 00/14] mfd: unused driver purge Bartosz Golaszewski
2026-09-09 17:26 ` Dmitry Torokhov
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=20260909134910.33A1C1F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=lee@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=media-ci@linuxtv.org \
--cc=mfd@lists.linux.dev \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox