aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpio/gpio-tangier.h
diff options
context:
space:
mode:
authorRaag Jadav <raag.jadav@intel.com>2023-11-13 18:46:00 +0530
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-13 17:59:48 +0200
commitc4a79ae280a632786d6f9c7856ef27ebaa585ea7 (patch)
treeebb9b1d1c2faaa8245698dcee879668f8e1e07b1 /drivers/gpio/gpio-tangier.h
parentgpio: elkhartlake: reuse pm_ops from Intel Tangier driver (diff)
downloadwireguard-linux-c4a79ae280a632786d6f9c7856ef27ebaa585ea7.tar.xz
wireguard-linux-c4a79ae280a632786d6f9c7856ef27ebaa585ea7.zip
gpio: tangier: unexport suspend/resume handles
Unexport suspend/resume handles for the lack of external users and while at it, make them static, so that they can be discarded by the compiler if not used (CONFIG_PM_SLEEP=n). Signed-off-by: Raag Jadav <raag.jadav@intel.com> Link: https://lore.kernel.org/r/20231113131600.10828-4-raag.jadav@intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-tangier.h')
-rw-r--r--drivers/gpio/gpio-tangier.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-tangier.h b/drivers/gpio/gpio-tangier.h
index 333e5f79b908..ca7ab6cf6fa5 100644
--- a/drivers/gpio/gpio-tangier.h
+++ b/drivers/gpio/gpio-tangier.h
@@ -112,9 +112,6 @@ struct tng_gpio {
int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio);
-int tng_gpio_suspend(struct device *dev);
-int tng_gpio_resume(struct device *dev);
-
extern const struct dev_pm_ops tng_gpio_pm_ops;
#endif /* _GPIO_TANGIER_H_ */