diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-07-18 14:14:05 +0200 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2022-08-16 16:38:11 +0300 |
commit | 919d4e1a207e9e837404c49e1386f210ac305f67 (patch) | |
tree | d2e8549a0f0ed470780895f108aa871a17405d1c /drivers/hid/hid-debug.c | |
parent | 4681086c9becc283ba4f8ed6be315918e1e0b917 (diff) |
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>
Diffstat (limited to 'drivers/hid/hid-debug.c')
0 files changed, 0 insertions, 0 deletions