spi: axi-spi-engine: use devm_request_irq()
authorDavid Lechner <dlechner@baylibre.com>
Fri, 17 Nov 2023 20:12:57 +0000 (14:12 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 20 Nov 2023 13:29:08 +0000 (13:29 +0000)
commit076f32d5db73f16c95b38149f9168210cf267b33
treeafdffa1630e6e3af5aebe590c2f2ebab6686ae89
parente094de13ae78035c5642d5dfc65b07301765eebc
spi: axi-spi-engine: use devm_request_irq()

This replaces request_irq() with devm_request_irq() in the AXI SPI
Engine driver. This simplifies the error path and removes the need to
call free_irq() in the remove function.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-6-cc59db999b87@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axi-spi-engine.c