]> asedeno.scripts.mit.edu Git - linux.git/commit
net: ethernet: ti: cpsw: use cpsw as drv data
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 11 Jun 2019 21:49:03 +0000 (00:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 01:43:48 +0000 (18:43 -0700)
commitbfe59032bd6127ee190edb30be9381a01765b958
tree4b7ecd87418928013193a01bfce3d59913d4c21c
parenteea9e3a40dbc15a4b03b447158c2555079875ba5
net: ethernet: ti: cpsw: use cpsw as drv data

No need to set ndev for drvdata when mainly cpsw reference is needed,
so correct this legacy decision.

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c