diff options
| author | Anton Vasilyev <[email protected]> | 2018-07-27 15:57:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-29 02:07:38 +0000 |
| commit | b0753408aadf32c7ece9e6b765017881e54af833 (patch) | |
| tree | 3da1e2a0de0213e447b74d32e6bbf2bd86dcdb1a /tools/perf/scripts/python/syscall-counts.py | |
| parent | ipv4: remove BUG_ON() from fib_compute_spec_dst (diff) | |
| download | kernel-b0753408aadf32c7ece9e6b765017881e54af833.tar.gz kernel-b0753408aadf32c7ece9e6b765017881e54af833.zip | |
net: mdio-mux: bcm-iproc: fix wrong getter and setter pair
mdio_mux_iproc_probe() uses platform_set_drvdata() to store md pointer
in device, whereas mdio_mux_iproc_remove() restores md pointer by
dev_get_platdata(&pdev->dev). This leads to wrong resources release.
The patch replaces getter to platform_get_drvdata.
Fixes: 98bc865a1ec8 ("net: mdio-mux: Add MDIO mux driver for iProc SoCs")
Signed-off-by: Anton Vasilyev <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
