net: macb: use bit access macro from header file
authorRamon Fried <rfried.dev@gmail.com>
Tue, 16 Jul 2019 19:04:33 +0000 (22:04 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 25 Jul 2019 18:13:30 +0000 (13:13 -0500)
commit0a2827e3ac4e24bb9948066bf37d8a1740066b82
tree5a4e1515d02d65742b83b8ca2e013139d5a9132f
parent9e65f80ec9943790891a533dc8996d9d97a18cc6
net: macb: use bit access macro from header file

macb.h provides macros for reading/setting bitfields,
in macb registers and descriptors. use that instead
of redefining them in the source file.

Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Tested-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c