From: Sachin Kamat Date: Mon, 21 Oct 2013 09:27:00 +0000 (+0100) Subject: iio: adc: nau7802: Remove redundant of_match_ptr X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d453a4ab112fdb7a2ccedea26eb192faf74c1ff1;p=deliverable%2Flinux.git 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 Cc: Maxime Ripard Signed-off-by: Jonathan Cameron --- 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, }, };