diff options
| author | HariKrishna Sagala <hariconscious@gmail.com> | 2025-11-21 17:09:43 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 13:37:29 +0300 |
| commit | d00e80606e76233f4ae03486a9809c9edfe8b27e (patch) | |
| tree | 4807e7da43ca4d34633b6ad2db5f2e7b23550524 /include | |
| parent | 774d075a80c652a0f35a5dd6f9e35cac5b7f6bdd (diff) | |
| download | linux-d00e80606e76233f4ae03486a9809c9edfe8b27e.tar.xz | |
ASoC: codec: rt274: 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/20251121140940.40678-4-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
