diff options
author | Frank Li <Frank.Li@nxp.com> | 2023-08-21 12:16:12 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-22 20:11:03 +0530 |
commit | a9903de3aa16731846bf924342eca44bdabe9be6 (patch) | |
tree | cf137d1043f32b3324d1bd36d0f76045500197d3 /drivers/dma/of-dma.c | |
parent | ee2dda06465a3b0f533c829a5bdc2ff15588d8e0 (diff) |
dmaengine: fsl-edma: refactor using devm_clk_get_enabled
Use devm_clk_get_enabled in probe code to reduce error checks,
thereby enhancing readability
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20230821161617.2142561-8-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/of-dma.c')
0 files changed, 0 insertions, 0 deletions