Message ID | 1387619866-21492-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Superseded |
Headers | show |
On 21 December 2013 15:27, Sachin Kamat <sachin.kamat@linaro.org> wrote: > 'atmel_pwm_dt_ids' is always compiled in. Hence the > helper macro is not needed. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > --- > drivers/pwm/pwm-atmel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c > index 657e90ab6e0a..cd6459e80690 100644 > --- a/drivers/pwm/pwm-atmel.c > +++ b/drivers/pwm/pwm-atmel.c > @@ -379,7 +379,7 @@ static int atmel_pwm_remove(struct platform_device *pdev) > static struct platform_driver atmel_pwm_driver = { > .driver = { > .name = "atmel-pwm", > - .of_match_table = of_match_ptr(atmel_pwm_dt_ids), > + .of_match_table = atmel_pwm_dt_ids, > }, > .id_table = atmel_pwm_devtypes, > .probe = atmel_pwm_probe, > -- > 1.7.9.5 > Gentle ping.
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c index 657e90ab6e0a..cd6459e80690 100644 --- a/drivers/pwm/pwm-atmel.c +++ b/drivers/pwm/pwm-atmel.c @@ -379,7 +379,7 @@ static int atmel_pwm_remove(struct platform_device *pdev) static struct platform_driver atmel_pwm_driver = { .driver = { .name = "atmel-pwm", - .of_match_table = of_match_ptr(atmel_pwm_dt_ids), + .of_match_table = atmel_pwm_dt_ids, }, .id_table = atmel_pwm_devtypes, .probe = atmel_pwm_probe,
'atmel_pwm_dt_ids' is always compiled in. Hence the helper macro is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/pwm/pwm-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)