summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-03-14 21:00:59 +0300
committerBjorn Andersson <andersson@kernel.org>2023-07-15 23:04:00 +0300
commit72a3a509f992b6bd182b3380913fe7b4f801075f (patch)
tree516f585469dfef7ce8b8bf95ebc68cd01b0938f4 /fs
parent3c81195a04e13833196462ab398d8bcf282701f7 (diff)
downloadlinux-72a3a509f992b6bd182b3380913fe7b4f801075f.tar.xz
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 <u.kleine-koenig@pengutronix.de> Acked-by: Baolin Wang <baolin.wang@linux.alibaba.com> Link: https://lore.kernel.org/r/20230314180100.2865801-1-u.kleine-koenig@pengutronix.de Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions