diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-langwell.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index f4b72456faaf..bfa1af1b519f 100644 --- a/drivers/gpio/gpio-langwell.c +++ b/drivers/gpio/gpio-langwell.c | |||
@@ -300,11 +300,7 @@ static const struct irq_domain_ops lnw_gpio_irq_ops = { | |||
300 | 300 | ||
301 | static int lnw_gpio_runtime_idle(struct device *dev) | 301 | static int lnw_gpio_runtime_idle(struct device *dev) |
302 | { | 302 | { |
303 | int err = pm_schedule_suspend(dev, 500); | 303 | pm_schedule_suspend(dev, 500); |
304 | |||
305 | if (!err) | ||
306 | return 0; | ||
307 | |||
308 | return -EBUSY; | 304 | return -EBUSY; |
309 | } | 305 | } |
310 | 306 | ||