From: Mark Brown Date: Fri, 27 Jun 2025 11:07:07 +0000 (+0100) Subject: Add `devm_dma_request_chan()` to simplify probe X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e001c003e30ed830a69e46c13ea02cd35b6093;p=thirdparty%2Fkernel%2Fstable.git Add `devm_dma_request_chan()` to simplify probe Merge series from Bence Csókás : The probe function of the atmel-quadspi driver got quite convoluted, especially since the addition of SAMA7G5 support, that was forward-ported from an older vendor kernel. To alleivate this - and similar problems in the future - an effort was made to migrate as many functions as possible, to their devm_ managed counterparts. Patch 1/2 adds the new `devm_dma_request_chan()` function. Patch 2/2 then uses this APIs to simplify the probe() function. --- 46e001c003e30ed830a69e46c13ea02cd35b6093