linux/drivers/pinctrl/qcom
Uwe Kleine-König 348e1488ba pinctrl: qcom: spmi-gpio: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.

To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231009083856.222030-16-u.kleine-koenig@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-10-10 15:42:37 +02:00
..
Kconfig pinctrl: qcom: Introduce SM6115 LPI pinctrl driver 2023-08-07 10:51:45 +02:00
Kconfig.msm pinctrl: qcom: organize main SoC drivers in new Kconfig.msm 2023-06-09 09:10:13 +02:00
Makefile pinctrl: qcom: Introduce SM6115 LPI pinctrl driver 2023-08-07 10:51:45 +02:00
pinctrl-apq8064.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-apq8084.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq4019.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq5018.c pinctrl: qcom: Remove the unused _groups variable build warning 2023-08-07 11:01:31 +02:00
pinctrl-ipq5332.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq6018.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq8064.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq8074.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-ipq9574.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-lpass-lpi.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-lpass-lpi.h pinctrl: qcom: Add missing header(s) 2022-10-24 17:06:46 +03:00
pinctrl-mdm9607.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-mdm9615.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8x74.c pinctrl: qcom: msm8974: Add MPM pin mappings 2023-09-27 10:43:51 +02:00
pinctrl-msm8226.c pinctrl: qcom: msm8226: Add MPM pin mappings 2023-09-27 10:43:51 +02:00
pinctrl-msm8660.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8909.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8916.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8953.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8960.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8976.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8994.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm8996.c pinctrl: qcom: msm8996: Add MPM pin mappings 2023-09-12 09:25:20 +02:00
pinctrl-msm8998.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-msm.c pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets 2023-08-10 10:48:15 +02:00
pinctrl-msm.h pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets 2023-08-10 10:48:15 +02:00
pinctrl-qcm2290.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-qcs404.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-qdf2xxx.c pinctrl: qcom: qdf2xxx: drop ACPI_PTR 2023-06-09 09:05:08 +02:00
pinctrl-qdu1000.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sa8775p.c pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets 2023-08-10 10:48:15 +02:00
pinctrl-sc7180.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sc7280-lpass-lpi.c pinctrl: qcom: sc7280: Add clock optional check for ADSP bypass targets 2022-06-26 00:50:41 +02:00
pinctrl-sc7280.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sc8180x.c pinctrl: qcom: sc8180x: gracefully handle missing IO memory resource 2023-05-16 15:25:57 +02:00
pinctrl-sc8280xp-lpass-lpi.c pinctrl: qcom: Add sc8280xp lpass lpi pinctrl driver 2022-08-25 14:32:04 +02:00
pinctrl-sc8280xp.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sdm660.c pinctrl: qcom: sdm660: Add MPM pin mappings 2023-09-12 09:25:20 +02:00
pinctrl-sdm670.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sdm845.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sdx55.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sdx65.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sdx75.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-sm6115-lpass-lpi.c pinctrl: qcom: Introduce SM6115 LPI pinctrl driver 2023-08-07 10:51:45 +02:00
pinctrl-sm6115.c pinctrl: qcom: sm6115: Add MPM pin mappings 2023-09-12 09:25:20 +02:00
pinctrl-sm6125.c pinctrl: qcom: sm6125: Add MPM pin mappings 2023-09-12 09:25:20 +02:00
pinctrl-sm6350.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm6375.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm7150.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm8150.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm8250-lpass-lpi.c pinctrl: qcom: Extract chip specific LPASS LPI code 2022-04-23 00:04:43 +02:00
pinctrl-sm8250.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm8350-lpass-lpi.c pinctrl: qcom: sm8350-lpass-lpi: add SM8350 LPASS TLMM 2023-07-24 21:07:04 +02:00
pinctrl-sm8350.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm8450-lpass-lpi.c pinctrl: qcom: sm8450-lpass-lpi: correct swr_rx_data group 2023-02-06 12:14:23 +01:00
pinctrl-sm8450.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-sm8550-lpass-lpi.c pinctrl: qcom: sm8550-lpass-lpi: allow GPIO function 2023-03-13 11:24:58 +01:00
pinctrl-sm8550.c pinctrl: qcom: Refactor generic qcom pinctrl driver 2023-05-16 15:03:37 +02:00
pinctrl-spmi-gpio.c pinctrl: qcom: spmi-gpio: Convert to platform remove callback returning void 2023-10-10 15:42:37 +02:00
pinctrl-spmi-mpp.c pinctrl: qcom spmi-mpp: Convert to immutable irq_chip 2023-04-20 16:07:40 +02:00
pinctrl-ssbi-gpio.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00
pinctrl-ssbi-mpp.c pinctrl: Explicitly include correct DT includes 2023-07-20 21:41:24 +02:00