diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-10-28 08:05:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 05:56:14 +0300 |
commit | aa7365e19f8410659ec30503cd8ce866a176c9f4 (patch) | |
tree | fc09947c62624444c773360e3a916d6335e8296b /ipc | |
parent | 985b6e6d039ef3dcbba4119f81763862123cfc98 (diff) | |
download | linux-aa7365e19f8410659ec30503cd8ce866a176c9f4.tar.xz |
net: bcmgenet: Avoid calling platform_device_put() twice in bcmgenet_mii_exit()
Remove platform_device_put() call after platform_device_unregister()
from function bcmgenet_mii_exit(), otherwise, we will call
platform_device_put() twice.
Fixes: 9a4e79697009 ("net: bcmgenet: utilize generic Broadcom UniMAC MDIO controller driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Doug Berger <opendmb@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions