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)
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>

No differences found