Merge tag 'livepatching-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / pwm / pwm-atmel.c
index e748604..8e00a42 100644 (file)
@@ -24,7 +24,6 @@
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/module.h>
-#include <linux/mutex.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/platform_device.h>
@@ -272,7 +271,7 @@ static void atmel_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm,
                              bool disable_clk)
 {
        struct atmel_pwm_chip *atmel_pwm = to_atmel_pwm_chip(chip);
-       unsigned long timeout = jiffies + 2 * HZ;
+       unsigned long timeout;
 
        atmel_pwm_wait_nonpending(atmel_pwm, pwm->hwpwm);