pwm: Always allocate PWM chip base ID dynamically
[sfrench/cifs-2.6.git] / drivers / pwm / pwm-tiehrpwm.c
index a7fb224d65350cf054111ba547a99144924751fc..90095a19bf2da9667ce6bb889500fae4b0675a16 100644 (file)
@@ -449,7 +449,6 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
        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;
 
        pc->mmio_base = devm_platform_ioremap_resource(pdev, 0);