]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hwmon: (pmbus/mp2869) Drop unjustified __maybe_unused
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 12 May 2026 16:28:57 +0000 (18:28 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jun 2026 15:22:59 +0000 (08:22 -0700)
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>
Link: https://lore.kernel.org/r/3ec2ee181d4f5bfc48c3745f9ce4fdbd1e8fb01e.1778603083.git.ukleinek@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/mp2869.c

index d345be920429d9d69adac922913cee39e6be8c4f..76c6017507b3b26ead0bbd6ae830f4bed996ff33 100644 (file)
@@ -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" },