Browse Source

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>
Sachin Kamat 11 years ago
parent
commit
d453a4ab11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/iio/adc/nau7802.c

+ 1 - 1
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,
 	},
 };