mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d8dca33027
commit
1ba0686b2b
|
@ -440,7 +440,7 @@ static struct platform_driver exynos_adc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "exynos-adc",
|
.name = "exynos-adc",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.of_match_table = of_match_ptr(exynos_adc_match),
|
.of_match_table = exynos_adc_match,
|
||||||
.pm = &exynos_adc_pm_ops,
|
.pm = &exynos_adc_pm_ops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue