[PATCH v3] dma-engine: sun4i: Use devm functions in probe()

Chen-Yu Tsai wens at kernel.org
Wed Feb 5 23:55:56 PST 2025


On Thu, Feb 6, 2025 at 1:37 AM Bence Csókás <csokas.bence at prolan.hu> wrote:
>
> Clean up error handling by using devm functions
> and dev_err_probe(). This should make it easier
> to add new code, as we can eliminate the "goto
> ladder" in probe().
>
> Suggested-by: Chen-Yu Tsai <wens at kernel.org>
> Reviewed-by: Jernej Skrabec <jernej.skrabec at gmail.com>
> Signed-off-by: Bence Csókás <csokas.bence at prolan.hu>

Acked-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-arm-kernel mailing list