diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-01 15:26:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 19:18:08 (GMT) |
commit | 25bba7152f2afc3e9517a53f3aa934fbaa68cd68 (patch) | |
tree | a163259c40f8439ab1958be83f73a835724b3bb5 /arch/powerpc/lib/vmx-helper.c | |
parent | ae4c24b2d58492d0da72b93aca9cd2f3ed48c69e (diff) | |
download | linux-25bba7152f2afc3e9517a53f3aa934fbaa68cd68.tar.xz |
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 <johan@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/lib/vmx-helper.c')
0 files changed, 0 insertions, 0 deletions