diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-01 16:26:01 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-11-14 10:05:58 +0100 |
commit | 815a7141c4d1b11610dccb7fcbb38633759824f2 (patch) | |
tree | fa8436f7755d4f36457bf38dcd032b0d6777d7ef /arch/powerpc/kernel/vio.c | |
parent | powerpc/ibmebus: Fix device reference leaks in sysfs interface (diff) | |
download | linux-815a7141c4d1b11610dccb7fcbb38633759824f2.tar.xz linux-815a7141c4d1b11610dccb7fcbb38633759824f2.zip |
powerpc/ibmebus: Fix further device reference leaks
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>
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
0 files changed, 0 insertions, 0 deletions