gpio: omap: Get rid of pm_runtime_irq_safe()
authorTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 19:35:32 +0000 (12:35 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Sep 2018 12:24:54 +0000 (14:24 +0200)
commit5284521a290efd5418de79c205b612537ab2b12d
tree0d3b6d13f1d32b2d968a77a6e6ac5870dcb5fc2e
parentb764a5863fd834836e65e258303e3a4a81c20f38
gpio: omap: Get rid of pm_runtime_irq_safe()

If a gpio instance has any GPIO bits requested we do a pm_runtime_get()
on the device. Now with cpu_pm handling the deeper SoC idle state quirks,
let's just remove pm_runtime_irq_safe() call and add a warning in case we
ever happen to encounter it.

Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Ladislav Michl <ladis@linux-mips.org>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c