[PATCH 6.6 039/166] powercap: call put_device() on an error path in powercap_register_control_type()