mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
iio: magnetometer: yamaha-yas530: Use devm_mutex_init() for mutex initialization
Use devm_mutex_init() since it brings some benefits when CONFIG_DEBUG_MUTEXES is enabled. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
10ecf78420
commit
6a0814f6f9
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue