From: Sachin Kamat Date: Sat, 21 Dec 2013 10:07:00 +0000 (+0000) Subject: iio: cm36651: Remove redundant of_match_ptr helper X-Git-Tag: v3.14-rc1~150^2~163^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a451521d2229266dae0b876efb5999d82d03850e;p=~emulex%2Finfiniband.git iio: cm36651: Remove redundant of_match_ptr helper 'cm36651_of_match' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/light/cm36651.c b/drivers/iio/light/cm36651.c index 000cc8eb362..218c689a80c 100644 --- a/drivers/iio/light/cm36651.c +++ b/drivers/iio/light/cm36651.c @@ -716,7 +716,7 @@ static const struct of_device_id cm36651_of_match[] = { static struct i2c_driver cm36651_driver = { .driver = { .name = "cm36651", - .of_match_table = of_match_ptr(cm36651_of_match), + .of_match_table = cm36651_of_match, .owner = THIS_MODULE, }, .probe = cm36651_probe,