diff options
| author | Andrew Lunn <[email protected]> | 2016-05-10 21:27:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-05-11 23:36:28 +0000 |
| commit | c33063d6a0d83a553faacf32f3cb834e63d8ecd7 (patch) | |
| tree | 789e0ef5e0cea80f757419483c3275a0990e048a /net/dsa/dsa.c | |
| parent | dsa: Move gpio reset into switch driver (diff) | |
| download | kernel-c33063d6a0d83a553faacf32f3cb834e63d8ecd7.tar.gz kernel-c33063d6a0d83a553faacf32f3cb834e63d8ecd7.zip | |
dsa: Remove master_dev from switch structure
The switch drivers only use the master_dev member for dev_info()
messages. Now that the device is passed to the old style probe, and
new style drivers are probed as true linux drivers, this is no longer
needed.
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
| -rw-r--r-- | net/dsa/dsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index df169811f26d..5db779c69a68 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -411,7 +411,7 @@ dsa_switch_setup(struct dsa_switch_tree *dst, int index, ds->pd = pd; ds->drv = drv; ds->priv = priv; - ds->master_dev = host_dev; + ds->dev = parent; ret = dsa_switch_setup_one(ds, parent); if (ret) |
