summaryrefslogtreecommitdiff
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-21 08:25:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2013-10-23 16:51:24 (GMT)
commitfc21acc471d30ecb2c594400c613ed0d56a8a457 (patch)
tree6ef9a42da51201f91aee0ea12b93890dc765f0ab /drivers/iio/adc
parent39631b5f9584672d0b7de92619f85a113837600b (diff)
downloadlinux-fc21acc471d30ecb2c594400c613ed0d56a8a457.tar.xz
iio: adc: twl6030-gpadc: Remove redundant of_match_ptr
of_twl6030_match_tbl is always compiled in. Hence of_match_ptr is not necessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/twl6030-gpadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/twl6030-gpadc.c b/drivers/iio/adc/twl6030-gpadc.c
index 0ea96c0..2edfc7b 100644
--- a/drivers/iio/adc/twl6030-gpadc.c
+++ b/drivers/iio/adc/twl6030-gpadc.c
@@ -887,7 +887,7 @@ static int twl6030_gpadc_probe(struct platform_device *pdev)
int irq;
int ret;
- match = of_match_device(of_match_ptr(of_twl6030_match_tbl), dev);
+ match = of_match_device(of_twl6030_match_tbl, dev);
if (!match)
return -EINVAL;