[PATCH 5.10 320/575] hwmon: Fix possible memleak in __hwmon_device_register()