summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-26 09:42:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-03-29 09:24:49 +0000
commit1ba0686b2b56bf4d59a6796152df0cd6843d3145 (patch)
tree890c43b1b8b72a1a8ffcec012cf9aa16d929718d /drivers/iio
parentd8dca33027c1fda3318fe8af85456b801ef88e1e (diff)
downloadlinux-1ba0686b2b56bf4d59a6796152df0cd6843d3145.tar.bz2
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/iio')
-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,
},
};