diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-03-18 17:52:12 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:54 +0100 |
| commit | 37fd5e6e0f33031e06c0406f289bcb2dcf4a1f4b (patch) | |
| tree | 5fc530d752de26c511d13936bd54ca2b7eff0852 /include/linux | |
| parent | 40fa5f535dd7968fd8a602766f9cb9774afb425b (diff) | |
iio: adc: ad7606: use devm_mutex_init()
Use devm_mutex_init() in ad7606_probe(). Mutexes should be cleaned up
on driver removal.
Also add missing include while we are touching this.
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250318-iio-adc-ad7606-improvements-v2-4-4b605427774c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
