-
由 Arvind Yadav 提交于
if device_register() returned an error! Always use put_device() to give up the reference initialized. And unregister device for other return error. Signed-off-by: NArvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
a9011726