Searched refs:dash_pos (Results 1 – 1 of 1) sorted by relevance
107 char *dash_pos; in get_sensor_index_attr() local114 dash_pos = strchr(hash_pos, '-'); in get_sensor_index_attr()115 if (!dash_pos) in get_sensor_index_attr()118 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr()128 strncpy(attr, dash_pos + 1, MAX_ATTR_LEN); in get_sensor_index_attr()