Commits
Calvin Johnson committed b0c6cb47810
staging: fsl_ppfe/eth: unregister netdev after pfe_phy_exit rmmod pfe.ko throws below warning: kernfs: can not remove 'phydev', no directory ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2230 at fs/kernfs/dir.c:1481 kernfs_remove_by_name_ns+0x90/0xa0 This is caused when the unregistered netdev structure is accessed to disconnect phy. Resolve the issue by unregistering netdev after disconnecting phy. Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>