-
Yue Hu authored
Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Clean up the rollback block also. Signed-off-by:
Yue Hu <huyue2@yulong.com> Signed-off-by:
Zhang Rui <rui.zhang@intel.com>
adc8749b