[PATCH 4.18 092/171] hwmon: (core) Fix double-free in __hwmon_device_register()