Searched refs:i2c_id (Results 1 – 2 of 2) sorted by relevance
409 char *i2c_id = strdup(id); in board_parse_i2c() local411 ret = board_add_new_item(MODULE_I2C, i2c_id, new_i2c); in board_parse_i2c()415 if (NULL != i2c_id) { in board_parse_i2c()416 aos_free(i2c_id); in board_parse_i2c()417 i2c_id = NULL; in board_parse_i2c()
459 char *i2c_id = strdup(id); in board_parse_i2c() local461 ret = board_add_new_item(MODULE_I2C, i2c_id, new_i2c); in board_parse_i2c()466 if (NULL != i2c_id) in board_parse_i2c()468 amp_free(i2c_id); in board_parse_i2c()469 i2c_id = NULL; in board_parse_i2c()
Completed in 6 milliseconds