- tokens = g_strsplit(probestring, ",", max_probes);
+ probe = l ? l->data : NULL;
+
+ return probe;
+}
+
+GSList *parse_probestring(struct sr_dev_inst *sdi, const char *probestring)
+{
+ struct sr_probe *probe;
+ GSList *probelist;
+ int ret, n, b, e, i;
+ char **tokens, **range, **names, *eptr, str[8];
+
+ if (!probestring || !probestring[0])
+ /* All probes are enabled by default by the driver. */
+ return NULL;