diff options
| author | Uwe Kleine-König <[email protected]> | 2023-03-14 18:00:59 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-07-15 20:04:00 +0000 |
| commit | 72a3a509f992b6bd182b3380913fe7b4f801075f (patch) | |
| tree | 516f585469dfef7ce8b8bf95ebc68cd01b0938f4 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | hwspinlock: add a check of devm_regmap_field_alloc in qcom_hwspinlock_probe (diff) | |
| download | kernel-72a3a509f992b6bd182b3380913fe7b4f801075f.tar.gz kernel-72a3a509f992b6bd182b3380913fe7b4f801075f.zip | |
hwspinlock: omap: Emit only one error message for errors in .remove()
If a remove callback of a platform driver returns a non-zero value, the
driver core emits an error message, otherwise ignores the value and
completes unbinding the device.
As omap_hwspinlock_remove() already emits an error message, suppress the
core's error message by returning zero.
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Baolin Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
