Rui, On 16-05-2013 06:28, Sachin Kamat wrote: > 'kirkwood_thermal_id_table' is always compiled in and the driver > is dependent on OF. Hence use of of_match_ptr is unnecessary. > > Signed-off-by: Sachin Kamat > Cc: Nobuhiro Iwamatsu Acked-by: Eduardo Valentin > --- > drivers/thermal/kirkwood_thermal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c > index b57a45d..944ac49 100644 > --- a/drivers/thermal/kirkwood_thermal.c > +++ b/drivers/thermal/kirkwood_thermal.c > @@ -120,7 +120,7 @@ static struct platform_driver kirkwood_thermal_driver = { > .driver = { > .name = "kirkwood_thermal", > .owner = THIS_MODULE, > - .of_match_table = of_match_ptr(kirkwood_thermal_id_table), > + .of_match_table = kirkwood_thermal_id_table, > }, > }; > >