From: Sachin Kamat Date: Mon, 21 Oct 2013 08:25:00 +0000 (+0100) Subject: iio: adc: twl6030-gpadc: Remove redundant of_match_ptr X-Git-Tag: v3.13-rc1~170^2~91^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc21acc471d30ecb2c594400c613ed0d56a8a457;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Jonathan Cameron --- 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;