gpio: qcom: add direction functions for pwrkey
authorDzmitry Sankouski <dsankouski@gmail.com>
Sun, 22 Jan 2023 15:21:21 +0000 (18:21 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 17:50:00 +0000 (12:50 -0500)
commit42a0c908dd1efea93914b82c8d26a7106fd23a13
treeeeff80e1cece4c0dc4576e0b400b7d028e62a52c
parentbaf0677b74c5f382458bc928b1f0f05fdba508c4
gpio: qcom: add direction functions for pwrkey

GPIO button driver requires direction functions to probe
button gpio. Those functions are blank, since pwrkey is not
really gpio, and don't support direction settings.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
drivers/gpio/qcom_pmic_gpio.c