ipq40xx: use devm for mutex_init
authorRosen Penev <rosenp@gmail.com>
Sat, 19 Oct 2024 01:56:30 +0000 (18:56 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 2 Nov 2024 11:15:12 +0000 (12:15 +0100)
commit57f2c72505f24b41fd9beaef3a8aa713b436cdb9
tree8718da1206d1fa3a16174e9ca4611c8c2da0c4be
parentefd1ec51a149cfa536b5e37a5a5d1a8b9fe363ea
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>
target/linux/ipq40xx/patches-6.6/706-net-dsa-qca8k-add-IPQ4019-built-in-switch-support.patch