summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-26 10:42:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-03-29 10:24:49 +0100
commit1ba0686b2b56bf4d59a6796152df0cd6843d3145 (patch)
tree890c43b1b8b72a1a8ffcec012cf9aa16d929718d /drivers
parentstaging:iio:ad799x: Preallocate sample buffer (diff)
downloadlinux-1ba0686b2b56bf4d59a6796152df0cd6843d3145.tar.xz
linux-1ba0686b2b56bf4d59a6796152df0cd6843d3145.zip
iio: exynos_adc: Remove redundant of_match_ptr macro
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/adc/exynos_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
index 4a8a9a34228f..9f3a8ef1fb3e 100644
--- a/drivers/iio/adc/exynos_adc.c
+++ b/drivers/iio/adc/exynos_adc.c
@@ -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,
},
};