On 10/21/13 10:27, Sachin Kamat wrote: > nau7802_dt_ids is always compiled in. Hence of_match_ptr is not > needed. > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> Applied. > --- > drivers/iio/adc/nau7802.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/nau7802.c b/drivers/iio/adc/nau7802.c > index adff9cb..54c5bab 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, > }, > }; > > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html