[PATCH RESEND] scsi: sun_esp: fix device reference leaks

2017-06-21 Thread Johan Hovold
Make sure to drop the reference to the dma device taken by of_find_device_by_node() on probe errors and on driver unbind. Fixes: 334ae614772b ("sparc: Kill SBUS DVMA layer.") Signed-off-by: Johan Hovold --- No comment to this one for over a month so resending. Also added David Mi

[PATCH] scsi: sun_esp: fix device reference leaks

2017-05-15 Thread Johan Hovold
Make sure to drop the reference to the dma device taken by of_find_device_by_node() on probe errors and on driver unbind. Fixes: 334ae614772b ("sparc: Kill SBUS DVMA layer.") Signed-off-by: Johan Hovold --- drivers/scsi/sun_esp.c | 9 - 1 file changed, 8 insertions(+),