aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-10 07:42:57 +0000
committerThierry Reding <[email protected]>2023-10-06 08:37:27 +0000
commit2992e07038aa38e1e156a833d6274bf330642722 (patch)
tree86cb74d9797b07a1235e4b86930bf809990f1311 /drivers/pwm/pwm-atmel.c
parentLinux 6.6-rc1 (diff)
downloadkernel-2992e07038aa38e1e156a833d6274bf330642722.tar.gz
kernel-2992e07038aa38e1e156a833d6274bf330642722.zip
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 <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
-rw-r--r--drivers/pwm/pwm-atmel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index 1f73325d1bea..35ae876bf2ea 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -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,
};