Skip to content
Commit 453da988 authored by Michael Schmitz's avatar Michael Schmitz Committed by David S. Miller
Browse files

net-next: ax88796: release platform device drvdata on probe error and module remove



The net device struct pointer is stored as platform device drvdata on
module probe - clear the drvdata entry on probe fail there, as well as
when unloading the module.

Signed-off-by: default avatarMichael Schmitz <schmitzmic@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent caaf45a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment