Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 04df008a authored by Levente Kurusa's avatar Levente Kurusa Committed by Bjorn Helgaas
Browse files

EISA: Call put_device() if device_register() fails



We need to give up the last reference to edev->dev, so we need to call
put_device().

Signed-off-by: default avatarLevente Kurusa <levex@linux.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 6ce4eac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment