linux_dsm_epyc7002/drivers/net/dsa/b53
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
..
b53_common.c net: dsa: remove dev arg of dsa_register_switch 2017-05-31 12:35:43 -04:00
b53_mdio.c net: dsa: b53: Utilize mdio_module_driver 2017-01-24 13:37:51 -05:00
b53_mmap.c net: dsa: b53: Fix module autoload 2016-10-17 13:03:03 -04:00
b53_priv.h net: dsa: use switchdev_obj_dump_cb_t everywhere 2017-05-18 10:40:12 -04:00
b53_regs.h net: dsa: b53: Implement software reset for 58xx devices 2017-04-24 18:28:56 -04:00
b53_spi.c net: dsa: b53: remove .owner and .bus fields for driver 2016-08-14 21:24:25 -07:00
b53_srab.c net: dsa: b53: Add compatible strings for the Cygnus-family BCM11360. 2017-05-18 11:01:42 -04:00
Kconfig net: dsa: b53: Add support for Broadcom RoboSwitch 2016-06-09 22:21:29 -07:00
Makefile net: dsa: b53: Add support for Broadcom RoboSwitch 2016-06-09 22:21:29 -07:00