From: Levente Kurusa Date: Fri, 29 Nov 2013 20:28:48 +0000 (+0100) Subject: x86, mce: Call put_device on device_register failure X-Git-Tag: v3.14-rc1~158^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853d9b18f1e861d37e9b271742329f8c1176eabe;p=pandora-kernel.git x86, mce: Call put_device on device_register failure This patch adds a call to put_device() when the device_register() call has failed. This is required so that the last reference to the device is given up. Signed-off-by: Levente Kurusa Link: http://lkml.kernel.org/r/5298F900.9000208@linux.com Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed