Skip to content
Commit f17c811d authored by Yong Wang's avatar Yong Wang Committed by Jean Delvare
Browse files

hwmon: (emc1403) Remove unnecessary hwmon_device_unregister



It is unnecessary and wrong to call hwmon_device_unregister in error
handling before hwmon_device_register is called.

Signed-off-by: default avatarYong Wang <yong.y.wang@intel.com>
Reviewed-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Cc: stable@kernel.org
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent c3b327d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment