Files
android_kernel_xiaomi_sm8450/net
Vivien Didelot 23c9ee4934 net: dsa: remove dev arg of dsa_register_switch
The current dsa_register_switch function takes a useless struct device
pointer argument, which always equals ds->dev.

Drivers either call it with ds->dev, or with the same device pointer
passed to dsa_switch_alloc, which ends up being assigned to ds->dev.

This patch removes the second argument of the dsa_register_switch and
_dsa_register_switch functions.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-31 12:35:43 -04:00
..
2017-04-12 22:02:40 +02:00
2017-05-17 16:06:01 -04:00
2017-04-13 13:58:20 -04:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2017-05-25 13:15:11 -04:00
2017-04-06 12:43:04 -07:00