]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: Use device_get_match_data() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 09:58:06 +0000 (12:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:47:23 +0000 (14:47 -0700)
commite1fa7402e598caa7791b958c3efbf625bf808f15
tree50c2387472d50482939c836bf086d6fbed80665a
parent3e0120e5145bc16c3ad7c9fd7d9c7565102109d8
net: mvpp2: Use device_get_match_data() helper

Use the device_get_match_data() helper instead of open coding.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c