def METHOD_NAME(self, config, dev_list, attr_name):
    hw_config = config.hw_config
    try:
        attr_cfg = hw_config[attr_name + "_configuration"]
    except KeyError:
        return
    for dev in dev_list:
        value = attr_cfg[dev]["original"]
        setattr(dev, attr_name, value)
        del attr_cfg[dev]