commit | 453da988785fab2658b88ab57b992cacc9dd3b7d | [log] [tgz] |
---|---|---|
author | Michael Schmitz <schmitzmic@gmail.com> | Thu Apr 19 14:05:25 2018 +1200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 19 16:11:11 2018 -0400 |
tree | 0c19bcbd97f4304c2c1a8f59b461ef2d10d93941 | |
parent | caaf45a6ba064103fabc2cad46bb5caeec41859f [diff] |
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: Michael Schmitz <schmitzmic@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>