[U-Boot] [PATCH 3/5] DW SPI: refactor poll_transfer functions