Lines Matching refs:new_node
1826 struct regulator_map *node, *new_node; in set_consumer_device_supply() local
1837 new_node = kzalloc(sizeof(struct regulator_map), GFP_KERNEL); in set_consumer_device_supply()
1838 if (new_node == NULL) in set_consumer_device_supply()
1841 new_node->regulator = rdev; in set_consumer_device_supply()
1842 new_node->supply = supply; in set_consumer_device_supply()
1845 new_node->dev_name = kstrdup(consumer_dev_name, GFP_KERNEL); in set_consumer_device_supply()
1846 if (new_node->dev_name == NULL) { in set_consumer_device_supply()
1847 kfree(new_node); in set_consumer_device_supply()
1873 list_add(&new_node->list, ®ulator_map_list); in set_consumer_device_supply()
1880 kfree(new_node->dev_name); in set_consumer_device_supply()
1881 kfree(new_node); in set_consumer_device_supply()