diff options
| author | HariKrishna Sagala <hariconscious@gmail.com> | 2025-12-17 13:43:58 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-17 15:04:33 +0300 |
| commit | 3a4e4e0003678a87600e82d02c9522af282a5c0b (patch) | |
| tree | be6bd3378e6f2f8fc183bca9499f4c3aae070f22 /include/linux/socket.h | |
| parent | dab6b6f5fc5aabd3248bdea4d6e200a04b309fd2 (diff) | |
| download | linux-3a4e4e0003678a87600e82d02c9522af282a5c0b.tar.xz | |
ASoC: codec: rt298: 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/20251217104356.60839-3-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions
