diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-03-26 13:42:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-29 13:24:49 +0400 |
commit | 1ba0686b2b56bf4d59a6796152df0cd6843d3145 (patch) | |
tree | 890c43b1b8b72a1a8ffcec012cf9aa16d929718d /drivers/iio | |
parent | d8dca33027c1fda3318fe8af85456b801ef88e1e (diff) | |
download | linux-1ba0686b2b56bf4d59a6796152df0cd6843d3145.tar.xz |
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.c | 2 |
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, }, }; |