net: dsa: remove useless argument in legacy setup
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sat, 5 Aug 2017 20:20:17 +0000 (16:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:22:42 +0000 (14:22 -0700)
commit206e41fe7f441542e8b92b314cfcdab21c709233
treeefc0d87cef0b0d04d72fb7f848019e8001642d6f
parente00e21979dc8a821840f23a8f1d62bd823755192
net: dsa: remove useless argument in legacy setup

dsa_switch_alloc() already assigns ds-dev, which can be used in
dsa_switch_setup_one and dsa_cpu_dsa_setups instead of requiring an
additional struct device argument.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/legacy.c