lantiq: use devm for mutex_init
authorRosen Penev <rosenp@gmail.com>
Thu, 31 Oct 2024 19:22:04 +0000 (12:22 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Nov 2024 21:39:45 +0000 (22:39 +0100)
commitfccff963c0a6ba035455daea61566f4d121643e3
tree0f70c4f8d70ee22c1a137bd218baf4b5c7750567
parent44824f0b787b13e2f2fccc58256b2c42fa3f9f5d
lantiq: use devm for mutex_init

It's common to avoid calling mutex_destroy when done. It's not correct strictly speaking.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16832
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch