]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Utilize common helpers for u64/MAC
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 5 Jan 2017 19:08:58 +0000 (11:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2017 20:51:29 +0000 (15:51 -0500)
commit9f2b1559314c355bfa520bd5bc1c03872ac7e0d1
tree3d2cc425a20ec98cf0cb9f8f3cc4a08e31e3d924
parente91f12895459f413d503eba4b12012a9b2650273
net: dsa: b53: Utilize common helpers for u64/MAC

Utilize the two functions recently introduced: u64_to_ether() and
ether_to_u64() instead of our own versions.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h