dm: serial: Separate out the core serial-device finding code
This function is quite long. Move the core code into a separate function in preparation for adding livetree support. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
Showing
想要评论请 注册 或 登录