[PATCH v1 2/2] hwmon: (pmbus/mp2869) Drop unjustified __maybe_unused
From: Uwe Kleine-König (The Capable Hub)
Date: Tue May 12 2026 - 12:36:52 EST
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@xxxxxxxxxxxx>
---
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