EISA: Call put_device() if device_register() fails
authorLevente Kurusa <levex@linux.com>
Fri, 13 Dec 2013 18:39:54 +0000 (19:39 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Dec 2013 19:00:42 +0000 (12:00 -0700)
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>

No differences found