Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: ocxl: use put_device() instead of device_unregister()
if device_register() returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Acked-by: Andrew Donnellan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information