ipq40xx: use devm for mutex_init
authorRosen Penev <rosenp@gmail.com>
Sat, 19 Oct 2024 01:56:30 +0000 (18:56 -0700)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:10 +0000 (18:46 +0000)
commitfbe50c67c615a2df77072586fc4a5c2144bb9597
treeb081768dbfb6b82b59b8e285e90fea6255109bc0
parent7ef734deac1a2e84061799b61bf480d00c35d180
ipq40xx: use devm for mutex_init

Avoids having to call mutex_destroy in remove.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16755
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 57f2c72505f24b41fd9beaef3a8aa713b436cdb9)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch