diff options
author | Michael Schmitz <schmitzmic@gmail.com> | 2018-04-19 14:05:25 +1200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 16:11:11 -0400 |
commit | 453da988785fab2658b88ab57b992cacc9dd3b7d (patch) | |
tree | 0c19bcbd97f4304c2c1a8f59b461ef2d10d93941 /kernel/module-internal.h | |
parent | net-next: ax88796: set IRQF_SHARED flag when IRQ resource is marked as shareable (diff) | |
download | linux-dev-453da988785fab2658b88ab57b992cacc9dd3b7d.tar.xz linux-dev-453da988785fab2658b88ab57b992cacc9dd3b7d.zip |
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>
Diffstat (limited to 'kernel/module-internal.h')
0 files changed, 0 insertions, 0 deletions