From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
To: Wensheng Wang <wenswang@yeah.net>, Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v1 2/2] hwmon: (pmbus/mp2869) Drop unjustified __maybe_unused
Date: Tue, 12 May 2026 18:28:57 +0200 [thread overview]
Message-ID: <3ec2ee181d4f5bfc48c3745f9ce4fdbd1e8fb01e.1778603083.git.ukleinek@kernel.org> (raw)
In-Reply-To: <cover.1778603083.git.ukleinek@kernel.org>
mp2869_of_match is used unconditionally in mp2869_driver, so there is no
need for the __maybe_unused marker.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
---
drivers/hwmon/pmbus/mp2869.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/mp2869.c b/drivers/hwmon/pmbus/mp2869.c
index d345be920429..76c6017507b3 100644
--- a/drivers/hwmon/pmbus/mp2869.c
+++ b/drivers/hwmon/pmbus/mp2869.c
@@ -640,7 +640,7 @@ static const struct i2c_device_id mp2869_id[] = {
};
MODULE_DEVICE_TABLE(i2c, mp2869_id);
-static const struct of_device_id __maybe_unused mp2869_of_match[] = {
+static const struct of_device_id mp2869_of_match[] = {
{ .compatible = "mps,mp2869" },
{ .compatible = "mps,mp29608" },
{ .compatible = "mps,mp29612" },
--
2.47.3
next prev parent reply other threads:[~2026-05-12 16:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 16:28 [PATCH v1 0/2] hwmon: (pmbus/mp2869) Two cleanups about device ids Uwe Kleine-König (The Capable Hub)
2026-05-12 16:28 ` [PATCH v1 1/2] hwmon: (pmbus/mp2869) Remove unused driver data Uwe Kleine-König (The Capable Hub)
2026-05-12 18:37 ` Guenter Roeck
2026-05-12 16:28 ` Uwe Kleine-König (The Capable Hub) [this message]
2026-05-12 18:38 ` [PATCH v1 2/2] hwmon: (pmbus/mp2869) Drop unjustified __maybe_unused Guenter Roeck
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=3ec2ee181d4f5bfc48c3745f9ce4fdbd1e8fb01e.1778603083.git.ukleinek@kernel.org \
--to=u.kleine-koenig@baylibre.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=wenswang@yeah.net \
/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