dpaa_eth: Use refcount_t for refcount
authorChuhong Yuan <hslester96@gmail.com>
Fri, 2 Aug 2019 16:47:59 +0000 (00:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 00:57:54 +0000 (17:57 -0700)
commit31168a6d129aebc02f92d4b7cc9946c0b6364c2b
tree0683387b991e4813bca6ecbc7b02f7cd53d7e49c
parentb3a598eb0d6b5c88ef8284c5dc95986eea365054
dpaa_eth: Use refcount_t for refcount

refcount_t is better for reference counters since its
implementation can prevent overflows.
So convert atomic_t ref counters to refcount_t.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h