-
由 Allen Hung 提交于
dmi_dev is freed in error exit code but, according to the document of device_register, it should never directly free device structure after calling this function, even if it returned an error! Use put_device() instead. Signed-off-by: NAllen Hung <allen_hung@dell.com> Signed-off-by: NJean Delvare <jdelvare@suse.de>
9b41b92b