From: Levente Kurusa Date: Fri, 13 Dec 2013 18:39:54 +0000 (+0100) Subject: EISA: Call put_device() if device_register() fails X-Git-Tag: v3.14-rc1~132^2~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04df008afe0c569fd09400a35b7d3db29067114c;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed