firmware: turris-mox-rwtm: Convert rest to devm_* and get rid of driver .remove()
authorMarek Behún <kabel@kernel.org>
Sat, 31 Aug 2024 09:20:43 +0000 (11:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Sep 2024 09:42:10 +0000 (09:42 +0000)
commitfbd48bd8cf0c4063465e2713bfaedfa71709a116
tree5a9a82a94303703f26f4786e588d7435a70f12f6
parent1b649ec180d41dbcdcd6d38a49cbab885661514b
firmware: turris-mox-rwtm: Convert rest to devm_* and get rid of driver .remove()

Use devm resource management for driver's mailbox. This allows us to get
rid of the driver's .remove() method and the gotos in .probe().

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-10-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/firmware/turris-mox-rwtm.c