gpio: ml-ioh: Convert to dev_pm_ops
authorVaibhav Gupta <vaibhavgupta40@gmail.com>
Thu, 2 Apr 2020 15:50:58 +0000 (21:20 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Jul 2021 08:58:22 +0000 (11:58 +0300)
commit40bb0e3e270a33b03a39cdd77bf03fc18dfe2fab
tree3ee344e7289bd2087e4fc64ddf6dabf5012b1d25
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
gpio: ml-ioh: Convert to dev_pm_ops

Convert the legacy callback .suspend() and .resume()
to the generic ones.

While at it, replace ifdeffery by __maybe_unused attribute.

Signed-off-by: Vaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-ml-ioh.c