]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: use local var dev in probe
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 26 Apr 2019 17:12:27 +0000 (20:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 21:11:48 +0000 (17:11 -0400)
commit011992df2a3f70e25916c33e30401fb7cb40fc12
treecf2e5f70f74cbf37e55094ae62c4038b5b0d7113
parent6cec2848e78e1e6b4e904bc31d63695e710fce85
net: ethernet: ti: cpsw: use local var dev in probe

Use local variable struct device *dev in probe 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