aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2021-08-30 14:56:06 +0200
committerPetr Mladek <pmladek@suse.com>2021-08-30 14:56:06 +0200
commit71af75b6929458d85f63c0649dc26d6f4c19729e (patch)
treec05c57903424d8270f6b6f3ec3493791fdba4e5c /drivers/pwm/pwm-atmel.c
parentlib/test_scanf: Handle n_bits == 0 in random tests (diff)
parentprintk/index: Fix -Wunused-function warning (diff)
downloadwireguard-linux-71af75b6929458d85f63c0649dc26d6f4c19729e.tar.xz
wireguard-linux-71af75b6929458d85f63c0649dc26d6f4c19729e.zip
Merge branch 'for-5.15-printk-index' into for-linus
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
-rw-r--r--drivers/pwm/pwm-atmel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index 29b5ad03f715..a8162bae3e8a 100644
--- a/drivers/pwm/pwm-atmel.c
+++ b/drivers/pwm/pwm-atmel.c
@@ -436,8 +436,6 @@ static int atmel_pwm_probe(struct platform_device *pdev)
atmel_pwm->chip.dev = &pdev->dev;
atmel_pwm->chip.ops = &atmel_pwm_ops;
- atmel_pwm->chip.of_xlate = of_pwm_xlate_with_flags;
- atmel_pwm->chip.of_pwm_n_cells = 3;
atmel_pwm->chip.npwm = 4;
ret = pwmchip_add(&atmel_pwm->chip);