aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-08-07 17:21:21 +0100
committerJonathan Cameron <[email protected]>2022-08-15 22:30:02 +0100
commit1c4986f7e1fdbc44df66b37ee80722a2fcb02163 (patch)
tree86abed2dbd7691180990dd4260512bc6c332bc7d
parent4c0babbd978a98dfbdacbe078817ea9c953b3298 (diff)
iio: adc: mt6360: Drop an incorrect __maybe_unused marking.
Given the struct platform_driver has one of it's elements assigned to point to the of_device_id table, it is never going to be unused. Drop the marking. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Gene Chen <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/iio/adc/mt6360-adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/mt6360-adc.c b/drivers/iio/adc/mt6360-adc.c
index 35260d9e4e47..3710473e526f 100644
--- a/drivers/iio/adc/mt6360-adc.c
+++ b/drivers/iio/adc/mt6360-adc.c
@@ -353,7 +353,7 @@ static int mt6360_adc_probe(struct platform_device *pdev)
return devm_iio_device_register(&pdev->dev, indio_dev);
}
-static const struct of_device_id __maybe_unused mt6360_adc_of_id[] = {
+static const struct of_device_id mt6360_adc_of_id[] = {
{ .compatible = "mediatek,mt6360-adc", },
{}
};