summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHariKrishna Sagala <hariconscious@gmail.com>2025-12-17 13:43:58 +0300
committerMark Brown <broonie@kernel.org>2025-12-17 15:04:33 +0300
commit3a4e4e0003678a87600e82d02c9522af282a5c0b (patch)
treebe6bd3378e6f2f8fc183bca9499f4c3aae070f22 /include
parentdab6b6f5fc5aabd3248bdea4d6e200a04b309fd2 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions