diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-12-21 05:07:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-22 11:01:54 -0500 |
commit | a451521d2229266dae0b876efb5999d82d03850e (patch) | |
tree | 41eb1278ca714ccc4a6890d296af7b532d684a71 /drivers/iio/light | |
parent | 5ae528590601db8bcc0e9d17c5ea3b6992163d6c (diff) |
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 <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light')
-rw-r--r-- | drivers/iio/light/cm36651.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/cm36651.c b/drivers/iio/light/cm36651.c index 000cc8eb362d..218c689a80ca 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[] = { | |||
716 | static struct i2c_driver cm36651_driver = { | 716 | static struct i2c_driver cm36651_driver = { |
717 | .driver = { | 717 | .driver = { |
718 | .name = "cm36651", | 718 | .name = "cm36651", |
719 | .of_match_table = of_match_ptr(cm36651_of_match), | 719 | .of_match_table = cm36651_of_match, |
720 | .owner = THIS_MODULE, | 720 | .owner = THIS_MODULE, |
721 | }, | 721 | }, |
722 | .probe = cm36651_probe, | 722 | .probe = cm36651_probe, |