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>
This commit is contained in:
Chuhong Yuan 2019-08-03 00:47:59 +08:00 • committed by David S. Miller
commit 31168a6d12
2 changed files with 5 additions and 4 deletions