X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fpwm%2Fpwm-sun4i.c;h=c952604e91f3a3065c4e702566679a11d2f6d41c;hb=79e48a21045e6f2ccd9f59737685336d9ad75d54;hp=e01becd102c0a2bafe7c50c08c76bebdb3ab4cfa;hpb=16f0596fc1d78a1f3ae4628cff962bb297dc908c;p=linux-2.6-microblaze.git diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c index e01becd102c0..c952604e91f3 100644 --- a/drivers/pwm/pwm-sun4i.c +++ b/drivers/pwm/pwm-sun4i.c @@ -460,8 +460,6 @@ static int sun4i_pwm_probe(struct platform_device *pdev) pwm->chip.dev = &pdev->dev; pwm->chip.ops = &sun4i_pwm_ops; pwm->chip.npwm = pwm->data->npwm; - pwm->chip.of_xlate = of_pwm_xlate_with_flags; - pwm->chip.of_pwm_n_cells = 3; spin_lock_init(&pwm->ctrl_lock);