summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-08-05 15:07:07 +0300
committerDavid S. Miller <davem@davemloft.net>2020-08-06 03:43:38 +0300
commit5fcfb6d0bfcda17f0d0656e4e5b3710af2bbaae5 (patch)
treedd5f83de27c9e2b1e1a4f92728b3f1ad9fbfc9af /drivers/gpio
parent8ed54f167abda44da48498876953f5b7843378df (diff)
downloadlinux-5fcfb6d0bfcda17f0d0656e4e5b3710af2bbaae5.tar.xz
hso: fix bailout in error case of probe
The driver tries to reuse code for disconnect in case of a failed probe. If resources need to be freed after an error in probe, the netdev must not be freed because it has never been registered. Fix it by telling the helper which path we are in. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions