Merge tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / drivers / pwm / pwm-renesas-tpu.c
index b853e79..4381df9 100644 (file)
@@ -425,13 +425,12 @@ static int tpu_probe(struct platform_device *pdev)
 static int tpu_remove(struct platform_device *pdev)
 {
        struct tpu_device *tpu = platform_get_drvdata(pdev);
-       int ret;
 
-       ret = pwmchip_remove(&tpu->chip);
+       pwmchip_remove(&tpu->chip);
 
        pm_runtime_disable(&pdev->dev);
 
-       return ret;
+       return 0;
 }
 
 #ifdef CONFIG_OF