commit | 04df008afe0c569fd09400a35b7d3db29067114c | [log] [tgz] |
---|---|---|
author | Levente Kurusa <levex@linux.com> | Fri Dec 13 19:39:54 2013 +0100 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Dec 13 12:00:42 2013 -0700 |
tree | 19053ca6c50a060c7bed4abf3b91e1c6e169ee8d | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
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: Levente Kurusa <levex@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>