Skip to content
Commit 536e1715 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent 281d1bbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment