OSDN Git Service

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)
commit4b92ea81cca38e4b5fd200607fba3d8a2263a3f9
tree3d2cc425a20ec98cf0cb9f8f3cc4a08e31e3d924
parent7558828adebe675179f6a489c7e04082828bf524
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