pwm: atmel: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
0bb80ecc33
commit
2992e07038
|
@ -547,7 +547,7 @@ disable_clk:
|
|||
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,
|
||||
},
|
||||
.probe = atmel_pwm_probe,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue