[PATCH AUTOSEL 5.10 3/8] powercap: call put_device() on an error path in powercap_register_control_type()