Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: vchiq_arm: Fix platform device unregistration
In error case platform_device_register_data would return an ERR_PTR instead of NULL. So we better check this before unregistration. Fixes: 37b7b30 ("staging/vc04_services: Register a platform device for the camera driver.") Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
- Loading branch information