Jakub Kicinski 49ed8dde37 net: usb: use eth_hw_addr_set() for dev->addr_len cases
Convert usb drivers from memcpy(... dev->addr_len)
to eth_hw_addr_set():

  @@
  expression dev, np;
  @@
  - memcpy(dev->dev_addr, np, dev->addr_len)
  + eth_hw_addr_set(dev, np)

Manually checked these are either usbnet or pure etherdevs.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-05 13:16:48 +01:00
..
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-06-17 11:30:25 -07:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:43 +01:00
2021-09-17 11:19:58 +01:00
2021-06-01 17:05:05 -07:00
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:45 +01:00
2021-10-02 14:18:25 +01:00