]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: Use get_unligned_beXX() and put_unaligned_beXX()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 Apr 2020 21:51:20 +0000 (00:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 23:24:53 +0000 (16:24 -0700)
commit96c61e389a0b797a807b68e7e16cdb801efbb11b
treed915fe9bd1f275ac200042dde035fe43ad7cfacf
parentbe0627c9c46625813efa522023d73aebbd6f3430
net: bcmgenet: Use get_unligned_beXX() and put_unaligned_beXX()

It's convenient to use get_unligned_beXX() and put_unaligned_beXX() helpers
to get or set MAC instead of open-coded variants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c