iio: adc: mt6360: Drop an incorrect __maybe_unused marking.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 7 Aug 2022 16:21:21 +0000 (17:21 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 15 Aug 2022 21:30:02 +0000 (22:30 +0100)
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 <Jonathan.Cameron@huawei.com>
Cc: Gene Chen <gene_chen@richtek.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220807162121.862894-1-jic23@kernel.org
drivers/iio/adc/mt6360-adc.c

index 35260d9e4e4747243c8876c594a1fe2547fdce50..3710473e526fc877f4418770f5c6a98f127ffb0d 100644 (file)
@@ -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", },
        {}
 };