Lines Matching refs:new_node
1710 struct regulator_map *node, *new_node; in set_consumer_device_supply() local
1721 new_node = kzalloc(sizeof(struct regulator_map), GFP_KERNEL); in set_consumer_device_supply()
1722 if (new_node == NULL) in set_consumer_device_supply()
1725 new_node->regulator = rdev; in set_consumer_device_supply()
1726 new_node->supply = supply; in set_consumer_device_supply()
1729 new_node->dev_name = kstrdup(consumer_dev_name, GFP_KERNEL); in set_consumer_device_supply()
1730 if (new_node->dev_name == NULL) { in set_consumer_device_supply()
1731 kfree(new_node); in set_consumer_device_supply()
1757 list_add(&new_node->list, ®ulator_map_list); in set_consumer_device_supply()
1764 kfree(new_node->dev_name); in set_consumer_device_supply()
1765 kfree(new_node); in set_consumer_device_supply()