diff options
| author | HariKrishna Sagala <hariconscious@gmail.com> | 2025-12-17 08:44:59 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-18 11:21:52 +0300 |
| commit | 3622dc47a4b13e0ec86358c7b54a0b33bfcaa03c (patch) | |
| tree | 686b33e7a2ae1a27c91c32a85b93d48b12ec554a /include | |
| parent | 961f20faa4b950c449dc98fa95a056ef368a24fc (diff) | |
| download | linux-3622dc47a4b13e0ec86358c7b54a0b33bfcaa03c.tar.xz | |
ASoC: codec: rt286: Use devm_request_threaded_irq to manage IRQ lifetime and fix smatch warning
Replace manual "request_threaded_irq()" with the device managed
"devm_request_threaded_irq" to manage the IRQ lifetime and also
it removes the smatch reported warning.
Remove the manual "free_irq()" in the "remove" function as free_irq
is tied to device teardown.
Signed-off-by: HariKrishna Sagala <hariconscious@gmail.com>
Link: https://patch.msgid.link/20251217054458.38257-2-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
