From: Sachin Kamat Date: Tue, 26 Mar 2013 09:42:00 +0000 (+0000) Subject: iio: exynos_adc: Remove redundant of_match_ptr macro X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1ba0686b2b56bf4d59a6796152df0cd6843d3145;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Jonathan Cameron --- 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, }, };