]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: update cpsw_split_res() to accept cpsw_common
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Apr 2019 17:12:26 +0000 (20:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 21:11:48 +0000 (17:11 -0400)
commit6cec2848e78e1e6b4e904bc31d63695e710fce85
treeee8e74ae81d05bee0a1831dc32e73e0a487d271a
parent1c358b2f3b04e85c13b159ad5c6ac5cf2d2b05b6
net: ethernet: ti: cpsw: update cpsw_split_res() to accept cpsw_common

Update cpsw_split_res() to accept struct cpsw_common instead of
struct net_device to simplify code.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c