]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: core: Replace lockdep_set_class() + mutex_init() by combined call
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Jan 2026 16:53:02 +0000 (11:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:32:28 +0000 (10:32 +0100)
commit2dabc85131c8405c55c027ad8bac47e15258b158
tree60a802d822bc321d4542b7a2956d75f91fd1f915
parentc5dbad55ce02a84a778ce33a47f6c6e6372ba8a2
iio: core: Replace lockdep_set_class() + mutex_init() by combined call

[ Upstream commit c76ba4b2644424b8dbacee80bb40991eac29d39e ]

Replace lockdep_set_class() + mutex_init() by combined call
mutex_init_with_key().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: 9910159f0659 ("iio: core: add separate lockdep class for info_exist_lock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/industrialio-core.c