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>
This commit is contained in:
Sachin Kamat 2013-10-21 09:25:00 +01:00 committed by Jonathan Cameron
parent 39631b5f95
commit fc21acc471

View File

@ -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;