
21 Nov
2017
21 Nov
'17
10:55 p.m.
On 21.11.2017 21:33, Paul Burton wrote:
The pch_gbe driver has 4 paths which open-code the equivalent of wait_for_bit(). Replace these with use of wait_for_bit() in order to shorten the code & avoid duplication.
Signed-off-by: Paul Burton paul.burton@mips.com Cc: Daniel Schwierzeck daniel.schwierzeck@gmail.com Cc: Joe Hershberger joe.hershberger@ni.com Cc: u-boot@lists.denx.de
drivers/net/pch_gbe.c | 67 ++++++++++++++------------------------------------- 1 file changed, 18 insertions(+), 49 deletions(-)
Reviewed-by: Daniel Schwierzeck daniel.schwierzeck@gmail.com
--
- Daniel