From: Daniel Schwierzeck Date: Tue, 21 Nov 2017 22:55:10 +0100 Subject: [U-Boot] [PATCH 7/8] net: pch_gbe: Use wait_for_bit() helper In-Reply-To: <20171121203347.10908-8-paul.burton@mips.com> References: <20171121203347.10908-1-paul.burton@mips.com> <20171121203347.10908-8-paul.burton@mips.com> Message-ID: <230ca0cd-99d1-4de5-3148-f7b65ad4d78b@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Daniel Schwierzeck > Cc: Joe Hershberger > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: