diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-21 11:27:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-23 18:52:25 +0200 |
commit | d453a4ab112fdb7a2ccedea26eb192faf74c1ff1 (patch) | |
tree | 8cab70d539f84ab8260be1cea79325657e389ba0 | |
parent | iio: adc: twl6030-gpadc: Remove redundant of_match_ptr (diff) | |
download | linux-d453a4ab112fdb7a2ccedea26eb192faf74c1ff1.tar.xz linux-d453a4ab112fdb7a2ccedea26eb192faf74c1ff1.zip |
iio: adc: nau7802: Remove redundant of_match_ptr
nau7802_dt_ids is always compiled in. Hence of_match_ptr is not
needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/adc/nau7802.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/nau7802.c b/drivers/iio/adc/nau7802.c index adff9cbbcbc4..54c5babe6746 100644 --- a/drivers/iio/adc/nau7802.c +++ b/drivers/iio/adc/nau7802.c @@ -570,7 +570,7 @@ static struct i2c_driver nau7802_driver = { .id_table = nau7802_i2c_id, .driver = { .name = "nau7802", - .of_match_table = of_match_ptr(nau7802_dt_ids), + .of_match_table = nau7802_dt_ids, }, }; |