[PATCH AUTOSEL 6.13 04/21] powercap: call put_device() on an error path in powercap_register_control_type()