From: Arvind Yadav <[email protected]> Date: Wed, 25 Apr 2018 20:26:14 +0530
> 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 <[email protected]> Applied and queued up for -stable, thanks.

