[U-Boot] [PATCH 7/8] net: pch_gbe: Use wait_for_bit() helper
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Tue Nov 21 21:55:10 UTC 2017
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 at mips.com>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: u-boot at lists.denx.de
> ---
>
> drivers/net/pch_gbe.c | 67 ++++++++++++++-------------------------------------
> 1 file changed, 18 insertions(+), 49 deletions(-)
>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
--
- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171121/96da1c79/attachment.sig>
More information about the U-Boot
mailing list