Skip to content
Commit 7e0ffee1 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

net: ieee802154: mcr20a: do not leak resources on error path



We already allocated the device and platform  data at this
point. Instead of simply return from the probe function we
need to cleanup the resources first.

Signed-off-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
Acked-by: default avatarXue Liu <liuxuenetmail@gmail.com>
parent f9e628a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment