Searched refs:dash_pos (Results 1 – 1 of 1) sorted by relevance
222 char *dash_pos; in get_sensor_index_attr() local229 dash_pos = strchr(hash_pos, '-'); in get_sensor_index_attr()230 if (!dash_pos) in get_sensor_index_attr()233 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr()243 strscpy(attr, dash_pos + 1, MAX_ATTR_LEN); in get_sensor_index_attr()