]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/pwm/pwm-tiehrpwm.c
pwm: make the PWM_POLARITY flag in DTB optional
[karo-tx-linux.git] / drivers / pwm / pwm-tiehrpwm.c
index cb75133085a8b9b0adaa71a3374645520a0023c6..12a8ae4cb96798db3d7c927aa31052dd2d8960d9 100644 (file)
@@ -458,7 +458,6 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
        pc->chip.dev = &pdev->dev;
        pc->chip.ops = &ehrpwm_pwm_ops;
        pc->chip.of_xlate = of_pwm_xlate_with_flags;
-       pc->chip.of_pwm_n_cells = 3;
        pc->chip.base = -1;
        pc->chip.npwm = NUM_PWM_CHANNEL;