lantiq: use devm for mutex_init
authorRosen Penev <rosenp@gmail.com>
Thu, 31 Oct 2024 19:22:04 +0000 (12:22 -0700)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:49 +0000 (18:46 +0000)
commit67da3d33f3df328f89780bc0c79e1620dc47267a
treea3806636edbc091df725bcdb9d2f8aac55bff041
parent62690e3b51e0ac227cf23e3da2f83e2fca3de6c4
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>
(cherry picked from commit fccff963c0a6ba035455daea61566f4d121643e3)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch