iio: exynos_adc: Remove redundant of_match_ptr macro
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 26 Mar 2013 09:42:00 +0000 (09:42 +0000)
committerJonathan Cameron <jic23@kernel.org>
Fri, 29 Mar 2013 09:24:49 +0000 (09:24 +0000)
exynos_adc is a DT only driver and exynos_adc_match table is always
compiled in. Hence remove the macro.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/exynos_adc.c

index 4a8a9a34228fef2e70650661ec028716c1fb4866..9f3a8ef1fb3e4484bcbc027337ce75a3f6e13425 100644 (file)
@@ -440,7 +440,7 @@ static struct platform_driver exynos_adc_driver = {
        .driver         = {
                .name   = "exynos-adc",
                .owner  = THIS_MODULE,
-               .of_match_table = of_match_ptr(exynos_adc_match),
+               .of_match_table = exynos_adc_match,
                .pm     = &exynos_adc_pm_ops,
        },
 };