Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
w1: use put_device() if device_register() fail
If device_register() returned an error! Always use put_device() to give up the reference initialized in device_register(). Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information