Merge branch 'cpsw-common-res-usage'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 17:35:11 +0000 (12:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 17:35:11 +0000 (12:35 -0500)
commitcc154783e71007b6d5d92dfe5dd7b6093496dfd1
tree8f8c31d26ff0063b021721319fbba06207a4ebb7
parente9f3a685a2b7685a730d990b4e87248b513907a0
parent022d7ad71dc50a6c255a68f7aa8e879615a29c4c
Merge branch 'cpsw-common-res-usage'

Ivan Khoronzhuk says:

====================
net: ethernet: ti: cpsw: correct common res usage

This series is intended to remove unneeded redundancies connected with
common resource usage function.

Since v1:
- changed name to cpsw_get_usage_count()
- added comments to open/closw for cpsw_get_usage_count()
- added patch:
  net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs

Based on net-next/master
====================

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>