]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: qcom: lpass-lpi: drop unused runtime-PM write helper
authorAjay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Wed, 10 Jun 2026 18:00:12 +0000 (23:30 +0530)
committerLinus Walleij <linusw@kernel.org>
Wed, 10 Jun 2026 20:37:56 +0000 (22:37 +0200)
commitd798af0a0f271e6d1e000e9fed579d25317091c3
tree078f8c6e96a645add7688c23e7e45c0ef29dee56
parent9fdab50b31bc9c8c01ea08032b0cdb0d9ff6bd95
pinctrl: qcom: lpass-lpi: drop unused runtime-PM write helper

lpi_gpio_write() became unused after the PM clock runtime conversion
switched write paths to register helper calls inside callers that already
hold an active runtime-PM reference.

With -Werror this triggers:
  error: 'lpi_gpio_write' defined but not used [-Wunused-function]

Drop the dead wrapper and rename the low-level MMIO helpers from
__lpi_gpio_* to lpi_gpio_*_reg for neutral register-accessor naming.

Fixes: b719ede389d8 ("pinctrl: qcom: lpass-lpi: Switch to PM clock framework for runtime PM")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/all/f03850f6-186d-4988-a450-e6e95f24a551@kernel.org/
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c