firmware: turris-mox-rwtm: Simplify debugfs code
authorMarek Behún <kabel@kernel.org>
Sat, 31 Aug 2024 09:20:42 +0000 (11:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 2 Sep 2024 09:42:10 +0000 (09:42 +0000)
commit1b649ec180d41dbcdcd6d38a49cbab885661514b
treec544c977f937e58d4c3afc994863be881934231b
parent579e05ee1bfbc76bd270074916882471e88c7af3
firmware: turris-mox-rwtm: Simplify debugfs code

Simplify debugfs code: do not check for errors, as debugfs errors should
be ignored, and use devm action for dropping the debugfs directory.

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