Skip to content
Commit 62b4ec8e authored by Simon Glass's avatar Simon Glass
Browse files

dm: ahci: Move common code for starting ports into a function



This code is duplicated. Create a ahci_start_ports() function to handle
this and call it from both places.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 099c239d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment