gpu: host1x: Call ->remove() only when a device is bound
authorThierry Reding <treding@nvidia.com>
Wed, 5 Nov 2014 10:43:26 +0000 (11:43 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 23 Jan 2015 11:07:00 +0000 (12:07 +0100)
commit536e1715226c94037df12f7c6280cbe0f6009f92
tree142cc1db3c1d1cb714d6c14b3217764475636bc9
parent281d1bbd34b734e4f22b30b6f3b673dda46a7470
gpu: host1x: Call ->remove() only when a device is bound

When a driver's ->probe() function fails, the host1x bus must not call
its ->remove() function because the driver will already have cleaned up
in the error handling path in ->probe().

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/bus.c
include/linux/host1x.h
This page took 0.026783 seconds and 5 git commands to generate.