Re: [PATCH 0/3] hwspinlock: Convert to platform remove callback returning void

From
Bjorn Andersson <andersson@kernel.org>
Date
2023-07-15 22:10:23
Also in
linux-omap, linux-remoteproc
Reply to
Uwe Kleine-König, 2023-03-14
On Tue, 14 Mar 2023 19:00:20 +0100, Uwe Kleine-König wrote:
this patch series adapts the platform drivers below drivers/hwspinlock to use
the .remove_new() callback. Compared to the traditional .remove() callback
.remove_new() returns no value. This is a good thing because the driver core
doesn't (and cannot) cope for errors during remove. The only effect of a
non-zero return value in .remove() is that the driver core emits a warning. The
device is removed anyhow and an early return from .remove() usually yields a
resource leak.

[...]
Applied, thanks!

[1/3] hwspinlock: omap: Emit only one error message for errors in .remove()
      commit: 72a3a509f992b6bd182b3380913fe7b4f801075f
[2/3] hwspinlock: omap: Convert to platform remove callback returning void
      commit: 4cf16b6b743e0bbe3128cf97a193ee37110d597b
[3/3] hwspinlock: u8500: Convert to platform remove callback returning void
      commit: 9519793bb6a731a3dd2453ad8515e8866e84c48e

Best regards,
-- 
Bjorn Andersson [off-list ref]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (8 messages) 8 messages, 4 authors, last reply 2023-07-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help