mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
pwm: rockchip: Remove redundant pwmchip_remove()
The pwmchip_add() has been replaced with devm_pwmchip_add(), so the
pwmchip_remove() is needless.
Fixes: 19b3f8d830 ("pwm: rockchip: add pwm clk_osc control for wave generator mode")
Change-Id: I2f75be757fc6b8e73f376fe2ec1c251b9a2701be
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -2499,8 +2499,6 @@ static int rockchip_pwm_remove(struct platform_device *pdev)
|
||||
}
|
||||
}
|
||||
|
||||
pwmchip_remove(&pc->chip);
|
||||
|
||||
if (pc->oneshot_en)
|
||||
clk_disable(pc->pclk);
|
||||
clk_unprepare(pc->clk_osc);
|
||||
|
||||
Reference in New Issue
Block a user