From: Johan Hovold Date: Tue, 1 Nov 2016 15:26:01 +0000 (+0100) Subject: powerpc/ibmebus: Fix further device reference leaks X-Git-Tag: v3.2.87~190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03a0f00d364cd5aa525d5a5b920c930927a15cdd;p=pandora-kernel.git powerpc/ibmebus: Fix further device reference leaks commit 815a7141c4d1b11610dccb7fcbb38633759824f2 upstream. Make sure to drop any reference taken by bus_find_device() when creating devices during init and driver registration. Fixes: 55347cc9962f ("[POWERPC] ibmebus: Add device creation and bus probing based on of_device") Signed-off-by: Johan Hovold Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed