Searched hist:"919 d4e1a207e9e837404c49e1386f210ac305f67" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/interconnect/qcom/ |
H A D | msm8974.c | diff 919d4e1a207e9e837404c49e1386f210ac305f67 Mon Jul 18 14:14:05 CEST 2022 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> interconnect: msm8974: Ignore return value of icc_provider_del() in .remove()
icc_provider_del() already emits an error message on failure. In this case letting .remove() return the corresponding error code results in another error message and the device is removed anyhow. (See platform_remove().)
So ignore the return value of icc_provider_del() and return 0 unconditionally.
This is a preparation for making platform remove callbacks return void.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20220718121409.171773-5-u.kleine-koenig@pengutronix.de Signed-off-by: Georgi Djakov <djakov@kernel.org>
|