Commits
![Arvind Yadav](https://secure.gravatar.com/avatar/6846d63f2effc497842ce83646721924.jpg?s=96&d=mm)
Arvind Yadav committed a24853aab59
ssb: use put_device() if device_register fail Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>