interconnect: imx: Ignore return value of icc_provider_del() in .remove()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 18 Jul 2022 12:14:02 +0000 (14:14 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 16 Aug 2022 13:37:36 +0000 (16:37 +0300)
commit7ec26b8dcc5c770a06a7e7ca2e1c888e2115bf0b
tree221c1c275e75686065fa337b4420b17a0c0fc450
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
interconnect: imx: 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-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/imx/imx.c