net/bnx2x: use common bit operations API
authorJoyce Kong <joyce.kong@arm.com>
Mon, 27 Apr 2020 07:58:54 +0000 (15:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Jun 2020 12:34:42 +0000 (14:34 +0200)
commitde6eab7c1e273fec2f3287735545db32d0e07ca2
tree38757fc420fdda69f69899a8692edb374b9f5006
parent4693ae4a74872bac8a270f4e30dffa950fc7540e
net/bnx2x: use common bit operations API

Remove its own bit operation APIs and use the common one,
this can reduce the code duplication largely.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
drivers/net/bnx2x/bnx2x.c
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/ecore_sp.c
drivers/net/bnx2x/ecore_sp.h