[PATCH v2 0/5] net: ethernet: ti: cpsw: correct common res usage

From: Ivan Khoronzhuk
Date: Thu Jan 19 2017 - 12:08:48 EST


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

Ivan Khoronzhuk (5):
net: ethernet: ti: cpsw: remove dual check from common res usage
function
net: ethernet: ti: cpsw: don't disable interrupts in ndo_open
net: ethernet: ti: cpsw: don't duplicate ndev_running
net: ethernet: ti: cpsw: don't duplicate common res in rx handler
net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs

drivers/net/ethernet/ti/cpsw.c | 200 ++++++++++++++++++-----------------------
1 file changed, 88 insertions(+), 112 deletions(-)

--
2.7.4