diff options
author | Uwe Kleine-König <[email protected]> | 2023-04-15 22:18:48 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-05-24 20:01:45 -0700 |
commit | c72e31718a8fb9bc070ee99f273446e05caa687d (patch) | |
tree | f1f33845b5d2982bc9d9d9e92e0ee1351f7d9a7d /lib/mpi/mpi-sub-ui.c | |
parent | 1252ea653bff14eb1a2184245a977ecb8505be68 (diff) |
soc: qcom: ramp_controller: Improve error message for failure in .remove()
When a platform_driver's .remove() callback returns an error, the driver
core emits
remove callback returned a non-zero value. This will be ignored.
. Replace this by a more specific error message. Then convert to
.remove_new() which is equivalent to returning zero unconditionally in
.remove(). See commit 5c5a7680e67b ("platform: Provide a remove callback
that returns no value") for its rationale.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions