]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: sca3000: switch IRQ handling to devm helpers
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Thu, 5 Feb 2026 13:12:08 +0000 (05:12 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:01 +0000 (21:20 +0000)
commit4390d4161a286646a0e180e8a6cb9fd58c511f68
tree58d2060bbadb2d48d21921037035030b6ebc6ddd
parent042d1244786ce713da25ea26cce71e7e90be7580
iio: sca3000: switch IRQ handling to devm helpers

Convert the threaded IRQ registration to devm_request_threaded_irq() so
that the probe and remove paths can drop manual freeing of irqs.

No functionality change.

Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/sca3000.c